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

Function test_drop_schema_basic

graphlite/tests/ddl_shared_tests.rs:49–61  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

47
48#[test]
49fn test_drop_schema_basic() {
50 let fixture = get_shared_fixture();
51
52 let test_schema = "drop_test_schema";
53
54 // Test DROP SCHEMA on existing schema - should succeed
55 fixture.assert_query_succeeds(&format!("CREATE SCHEMA IF NOT EXISTS {}", test_schema));
56
57 fixture.assert_query_succeeds(&format!("DROP SCHEMA {}", test_schema));
58
59 // Test DROP SCHEMA on non-existent schema - should fail
60 fixture.assert_query_fails("DROP SCHEMA nonexistent_schema", "not found");
61}
62
63#[test]
64fn test_drop_schema_if_exists() {

Callers

nothing calls this directly

Calls 3

get_shared_fixtureFunction · 0.85
assert_query_succeedsMethod · 0.45
assert_query_failsMethod · 0.45

Tested by

no test coverage detected