MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_table_names

Method test_table_names

test/engine/test_reflection.py:2088–2090  ·  view source on GitHub ↗
(self, connection)

Source from the content-addressed store, hash-verified

2086
2087 @testing.fails_if(testing.requires._has_mysql_on_windows)
2088 def test_table_names(self, connection):
2089 x = inspect(connection).get_table_names()
2090 assert {"SomeTable", "SomeOtherTable"}.issubset(x)
2091
2092 def test_reflect_exact_name(self, connection):
2093 m = MetaData()

Callers

nothing calls this directly

Calls 3

inspectFunction · 0.90
get_table_namesMethod · 0.45
issubsetMethod · 0.45

Tested by

no test coverage detected