diff options
author | Brian Van Klaveren <brianv0@users.noreply.github.com> | 2015-09-09 14:23:27 -0700 |
---|---|---|
committer | Brian Van Klaveren <brianv0@users.noreply.github.com> | 2015-09-09 14:23:27 -0700 |
commit | 4d53b31247265422a36cc2e58e8db0bf200e8329 (patch) | |
tree | 5d2f1602117d5e152e43d778f8f436b2139c361a | |
parent | 8174e7236be3937d20fa0931af4799ab9b0f1f29 (diff) | |
download | sqlalchemy-pr/198.tar.gz |
Support get_schema_names for SQLitepr/198
Should return "main" and the names of attached databases.
-rw-r--r-- | test/dialect/test_sqlite.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/dialect/test_sqlite.py b/test/dialect/test_sqlite.py index 17920c127..2e929de9c 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( |