MCPcopy Create free account
hub / github.com/Vanderhoof/PyDBML / test_column_not_in_table

Method test_column_not_in_table

test/test_classes/test_table.py:193–195  ·  view source on GitHub ↗
(table1: Table, table2: Table)

Source from the content-addressed store, hash-verified

191
192 @staticmethod
193 def test_column_not_in_table(table1: Table, table2: Table) -> None:
194 with pytest.raises(ColumnNotFoundError):
195 table1.add_index(Index([table2.columns[0]]))
196
197 @staticmethod
198 def test_ok(table1: Table) -> None:

Callers

nothing calls this directly

Calls 2

IndexClass · 0.90
add_indexMethod · 0.80

Tested by

no test coverage detected