MCPcopy Create free account
hub / github.com/alibaba/zvec / test_iter_docs_empty

Function test_iter_docs_empty

python/tests/test_iter_docs.py:192–195  ·  view source on GitHub ↗

Empty collection yields nothing.

(iter_collection)

Source from the content-addressed store, hash-verified

190
191
192def test_iter_docs_empty(iter_collection):
193 """Empty collection yields nothing."""
194 docs = list(iter_collection.iter_docs())
195 assert docs == []
196
197
198def test_iter_docs_after_delete(iter_collection):

Callers

nothing calls this directly

Calls 1

iter_docsMethod · 0.80

Tested by

no test coverage detected