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

Method test_upload

tests/storage/__init__.py:109–112  ·  view source on GitHub ↗
(self, s, get_item)

Source from the content-addressed store, hash-verified

107 s.upload(item)
108
109 def test_upload(self, s, get_item):
110 item = get_item()
111 href, etag = s.upload(item)
112 assert_item_equals(s.get(href)[0], item)
113
114 def test_update(self, s, get_item):
115 item = get_item()

Callers

nothing calls this directly

Calls 3

assert_item_equalsFunction · 0.85
uploadMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected