MCPcopy
hub / github.com/pimutils/vdirsyncer / test_partial_sync_error

Function test_partial_sync_error

tests/unit/sync/test_sync.py:91–100  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

89
90
91def test_partial_sync_error():
92 a = MemoryStorage()
93 b = MemoryStorage()
94 status = {}
95
96 a.upload(Item('UID:0'))
97 b.read_only = True
98
99 with pytest.raises(PartialSync):
100 sync(a, b, status, partial_sync='error')
101
102
103def test_partial_sync_ignore():

Callers

nothing calls this directly

Calls 4

uploadMethod · 0.95
MemoryStorageClass · 0.90
ItemClass · 0.90
syncFunction · 0.70

Tested by

no test coverage detected