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

Class FakeWalUploader

tests/test_wal_transfer.py:34–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32
33
34class FakeWalUploader(object):
35 def __call__(self, segment):
36 if segment._upload_explosive:
37 raise segment._upload_explosive
38
39 segment._uploaded = True
40 return segment
41
42
43def failed(seg):

Callers 7

test_simple_uploadFunction · 0.85
test_multi_uploadFunction · 0.85
test_simple_failFunction · 0.85
test_multi_explicit_failFunction · 0.85
test_multi_pipeline_failFunction · 0.85
test_start_after_joinFunction · 0.85
test_mark_done_faultFunction · 0.85

Calls

no outgoing calls

Tested by 7

test_simple_uploadFunction · 0.68
test_multi_uploadFunction · 0.68
test_simple_failFunction · 0.68
test_multi_explicit_failFunction · 0.68
test_multi_pipeline_failFunction · 0.68
test_start_after_joinFunction · 0.68
test_mark_done_faultFunction · 0.68