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

Function sqlite_delete_behavior

crates/openshell-server/src/persistence/tests.rs:252–265  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

250
251#[tokio::test]
252async fn sqlite_delete_behavior() {
253 let store = test_store().await;
254
255 store
256 .put("sandbox", "abc", "my-sandbox", b"payload", None)
257 .await
258 .unwrap();
259
260 let deleted = store.delete("sandbox", "abc").await.unwrap();
261 assert!(deleted);
262
263 let deleted_again = store.delete("sandbox", "missing").await.unwrap();
264 assert!(!deleted_again);
265}
266
267#[tokio::test]
268async fn sqlite_protobuf_round_trip() {

Callers

nothing calls this directly

Calls 3

test_storeFunction · 0.70
putMethod · 0.45
deleteMethod · 0.45

Tested by

no test coverage detected