MCPcopy Create free account
hub / github.com/agentscope-ai/Trinity-RFT / test_mysql

Method test_mysql

tests/buffer/sql_test.py:47–51  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

45 )
46
47 def test_mysql(self):
48 self.assertEqual(
49 to_async_url("mysql://user:pass@host/db"),
50 "mysql+aiomysql://user:pass@host/db",
51 )
52
53 def test_already_async(self):
54 url = "sqlite+aiosqlite:///path/to/db.sqlite"

Callers

nothing calls this directly

Calls 1

to_async_urlFunction · 0.90

Tested by

no test coverage detected