MCPcopy Create free account
hub / github.com/wal-e/wal-e / __enter__

Method __enter__

tests/gs_integration_help.py:135–143  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

133 self.created_bucket = False
134
135 def __enter__(self):
136 # Clean up a dangling bucket from a previous test run, if
137 # necessary.
138 self.conn = apathetic_bucket_delete(self.bucket_name,
139 self.blobs,
140 *self.conn_args,
141 **self.conn_kwargs)
142
143 return self
144
145 def create(self, *args, **kwargs):
146 bucket = insistent_bucket_create(self.conn, self.bucket_name,

Callers

nothing calls this directly

Calls 1

apathetic_bucket_deleteFunction · 0.70

Tested by

no test coverage detected