MCPcopy Create free account
hub / github.com/GraphLite-AI/GraphLite / test_instance_mode_explicit

Function test_instance_mode_explicit

graphlite/tests/session_mode_tests.rs:87–98  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

85
86#[test]
87fn test_instance_mode_explicit() {
88 // Explicitly using Instance mode should behave like from_path()
89 let temp_dir = tempdir().unwrap();
90
91 let coord =
92 QueryCoordinator::from_path_with_mode(temp_dir.path().join("db"), SessionMode::Instance)
93 .expect("Failed to create coordinator");
94
95 let _session_id = coord
96 .create_simple_session("test_user")
97 .expect("Failed to create session");
98}
99
100#[test]
101#[serial_test::serial]

Callers

nothing calls this directly

Calls 2

unwrapMethod · 0.80
create_simple_sessionMethod · 0.80

Tested by

no test coverage detected