(self)
| 226 | self.assertNotIn(tg, database.table_groups) |
| 227 | |
| 228 | def test_delete_missing_table_group(self) -> None: |
| 229 | t1 = Table('table1') |
| 230 | t2 = Table('table2') |
| 231 | tg = TableGroup('mytablegroup', [t1, t2]) |
| 232 | database = Database() |
| 233 | with self.assertRaises(DatabaseValidationError): |
| 234 | database.delete_table_group(tg) |
| 235 | self.assertIsNone(tg.database) |
| 236 | |
| 237 | def test_add_project(self) -> None: |
| 238 | p = Project('myproject') |
nothing calls this directly
no test coverage detected