tests: add blobs retention policy discarding into TestRetentionPolicy…#99
Conversation
|
I've tried to avoid as much requests to the service as I could, so here is how it's gonna work: Every We're adding blob into list after instancing. If test passed, we're calling |
| self.assertIsNone(other.retention_expiration_time) | ||
| self.assertFalse(blob.event_based_hold) | ||
| self.assertFalse(blob.temporary_hold) | ||
| self.assertIsNone(blob.retention_expiration_time) |
There was a problem hiding this comment.
I think, there is an error here: other blob is already deleted (line 1806). Most likely, blob was going to be here, as it's just has been uploaded and there is no asserts for it.
| self.assertIsNone(other.retention_expiration_time) | ||
| self.assertFalse(blob.event_based_hold) | ||
| self.assertFalse(blob.temporary_hold) | ||
| self.assertIsNone(blob.retention_expiration_time) |
googleapis#99) * tests: add blobs retention policy discarding into TestRetentionPolicy() teardown * merging error fix
googleapis#99) * tests: add blobs retention policy discarding into TestRetentionPolicy() teardown * merging error fix
Closes #97