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

Method test_iter

test/test_classes/test_table_group.py:21–31  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

19 tg[22]
20
21 def test_iter(self) -> None:
22 merchants = Table('merchants')
23 countries = Table('countries')
24 customers = Table('customers')
25 tg = TableGroup(
26 'mytg',
27 [merchants, countries, customers],
28 comment='My table group\nmultiline comment'
29 )
30 for i1, i2 in zip(tg, [merchants, countries, customers]):
31 self.assertIs(i1, i2)

Callers

nothing calls this directly

Calls 2

TableClass · 0.90
TableGroupClass · 0.90

Tested by

no test coverage detected