From: Brian Van Klaveren Date: Wed, 9 Sep 2015 21:23:27 +0000 (-0700) Subject: Support get_schema_names for SQLite X-Git-Tag: rel_1_1_0b1~84^2~70^2~92^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d53b31247265422a36cc2e58e8db0bf200e8329;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Support get_schema_names for SQLite Should return "main" and the names of attached databases. --- diff --git a/test/dialect/test_sqlite.py b/test/dialect/test_sqlite.py index 17920c1272..2e929de9c5 100644 --- a/test/dialect/test_sqlite.py +++ b/test/dialect/test_sqlite.py @@ -581,6 +581,11 @@ class AttachedMemoryDBTest(fixtures.TestBase): insp = inspect(self.conn) eq_(insp.get_table_names("test_schema"), ["created"]) + def test_schema_names(self): + self._fixture() + insp = inspect(self.conn) + eq_(insp.get_schema_names(), ["main", "test_schema"]) + def test_reflect_system_table(self): meta = MetaData(self.conn) alt_master = Table(