@@ -46,7 +46,7 @@ def test_builtin():
4646 # Validate output specific to CrateDB.
4747 assert b"Calling tool: query" in p .stdout
4848 assert b"mountain: Mont Blanc" in p .stdout
49- assert b"Reading resource: postgres://crate@localhost:5432/testdrive /schema" in p .stdout
49+ assert b"Reading resource: postgres://crate@localhost:5432/mcp_builtin /schema" in p .stdout
5050 assert b"column_name: id" in p .stdout
5151 assert b"data_type: integer" in p .stdout
5252
@@ -77,8 +77,8 @@ def test_jdbc():
7777
7878 # Validate database content.
7979 db = DatabaseAdapter ("crate://crate@localhost:4200/" )
80- db .refresh_table ("doc. testdrive" )
81- records = db .run_sql ("SELECT * FROM doc. testdrive" , records = True )
80+ db .refresh_table ("testdrive.mcp_jdbc " )
81+ records = db .run_sql ("SELECT * FROM testdrive.mcp_jdbc " , records = True )
8282 assert len (records ) >= 1
8383 assert records [0 ] == {"id" : 42 , "data" : "foobar" }
8484
@@ -114,5 +114,5 @@ def test_dbhub():
114114 assert b"- testdrive" in p .stdout
115115
116116 assert b"Getting prompt: explain_db" in p .stdout
117- assert b"Table: dbhub in schema 'testdrive'" in p .stdout
117+ assert b"Table: mcp_dbhub in schema 'testdrive'" in p .stdout
118118 assert b"Structure:\\ n- id (integer)\\ n- data (text)" in p .stdout
0 commit comments