(self, connection)
| 1756 | |
| 1757 | @testing.requires.unicode_connections |
| 1758 | def test_get_names(self, connection): |
| 1759 | inspector = inspect(connection) |
| 1760 | names = {tname: (cname, ixname) for tname, cname, ixname in self.names} |
| 1761 | for tname in inspector.get_table_names(): |
| 1762 | assert tname in names |
| 1763 | eq_( |
| 1764 | [ |
| 1765 | (rec["name"], rec["column_names"][0]) |
| 1766 | for rec in inspector.get_indexes(tname) |
| 1767 | ], |
| 1768 | [(names[tname][1], names[tname][0])], |
| 1769 | ) |
| 1770 | |
| 1771 | |
| 1772 | class SchemaTest(fixtures.TestBase): |
nothing calls this directly
no test coverage detected