(self)
| 6 | |
| 7 | class TestTableGroup(TestCase): |
| 8 | def test_getitem(self) -> None: |
| 9 | merchants = Table('merchants') |
| 10 | countries = Table('countries') |
| 11 | customers = Table('customers') |
| 12 | tg = TableGroup( |
| 13 | 'mytg', |
| 14 | [merchants, countries, customers], |
| 15 | comment='My table group\nmultiline comment' |
| 16 | ) |
| 17 | self.assertIs(tg[1], countries) |
| 18 | with self.assertRaises(IndexError): |
| 19 | tg[22] |
| 20 | |
| 21 | def test_iter(self) -> None: |
| 22 | merchants = Table('merchants') |
nothing calls this directly
no test coverage detected