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

Method test_default

python/tests/test_params.py:307–311  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

305# ----------------------------
306class TestCollectionOption:
307 def test_default(self):
308 option = CollectionOption()
309 assert option is not None
310 assert option.read_only == False
311 assert option.enable_mmap == True
312
313 def test_custom(self):
314 option = CollectionOption(read_only=True, enable_mmap=False)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected