MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / test_store

Function test_store

crates/openshell-server/src/persistence/mod.rs:629–633  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

627
628#[cfg(test)]
629pub async fn test_store() -> Store {
630 Store::connect("sqlite::memory:?cache=shared")
631 .await
632 .expect("in-memory SQLite store should connect")
633}
634
635#[cfg(test)]
636mod tests;

Callers 15

sqlite_updates_timestampFunction · 0.70
sqlite_list_pagingFunction · 0.70
sqlite_delete_behaviorFunction · 0.70
sqlite_get_by_nameFunction · 0.70
sqlite_delete_by_nameFunction · 0.70
labels_round_tripFunction · 0.70

Calls 1

connectFunction · 0.85

Tested by

no test coverage detected