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

Function _get_storage

tests/unit/test_metasync.py:136–139  ·  view source on GitHub ↗
(m, instance_name)

Source from the content-addressed store, hash-verified

134 conflict_resolution='a wins')
135def test_fuzzing(a, b, status, keys, conflict_resolution):
136 def _get_storage(m, instance_name):
137 s = MemoryStorage(instance_name=instance_name)
138 s.metadata = m
139 return s
140
141 a = _get_storage(a, 'A')
142 b = _get_storage(b, 'B')

Callers 1

test_fuzzingFunction · 0.85

Calls 1

MemoryStorageClass · 0.90

Tested by

no test coverage detected