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

Function test_simple_upload

tests/test_wal_transfer.py:95–102  ·  view source on GitHub ↗

Model a case where there is no concurrency while uploading.

()

Source from the content-addressed store, hash-verified

93
94
95def test_simple_upload():
96 """Model a case where there is no concurrency while uploading."""
97 group = worker.WalTransferGroup(FakeWalUploader())
98 seg = FakeWalSegment('1' * 8 * 3, explicit=True)
99 group.start(seg)
100 group.join()
101
102 assert success(seg)
103
104
105def test_multi_upload():

Callers

nothing calls this directly

Calls 5

startMethod · 0.95
joinMethod · 0.95
FakeWalUploaderClass · 0.85
FakeWalSegmentClass · 0.85
successFunction · 0.85

Tested by

no test coverage detected