feat: add durable store record serialization
This commit is contained in:
parent
abb3c5bd34
commit
6810d9a3aa
7 changed files with 576 additions and 0 deletions
|
|
@ -89,6 +89,11 @@ def assert_user_engine_store_conformance(
|
|||
_assert_diagnostics_contract(testcase, store_factory)
|
||||
|
||||
|
||||
def reference_store_records(store: UserEngineStore) -> dict[str, Any]:
|
||||
"""Write and return a representative record for every store record type."""
|
||||
return _write_reference_records(store)
|
||||
|
||||
|
||||
def _assert_readiness_contract(testcase: TestCase, store_factory: StoreFactory) -> None:
|
||||
store = store_factory()
|
||||
if store.schema_version is None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue