MCPcopy Create free account
hub / github.com/zzzeek/sqlalchemy / test_get_names

Method test_get_names

test/dialect/oracle/test_reflection.py:810–818  ·  view source on GitHub ↗
(self, connection)

Source from the content-addressed store, hash-verified

808 conn.exec_driver_sql(stmt)
809
810 def test_get_names(self, connection):
811 insp = inspect(connection)
812 eq_(insp.get_table_names(), ["tbl"])
813 eq_(insp.get_view_names(), ["tbl_plain_v"])
814 eq_(sorted(insp.get_materialized_view_names()), ["tbl_v", "tbl_v2"])
815 eq_(
816 insp.get_view_names(schema=testing.config.test_schema),
817 ["schema_view"],
818 )
819
820 def test_get_table_comment_on_view(self, connection):
821 insp = inspect(connection)

Callers

nothing calls this directly

Calls 5

inspectFunction · 0.90
eq_Function · 0.90
get_table_namesMethod · 0.45
get_view_namesMethod · 0.45

Tested by

no test coverage detected