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

Method test_delete_bad

test/test_database.py:362–370  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

360 self.assertNotIn(ref, database.refs)
361
362 def test_delete_bad(self) -> None:
363 class Test:
364 pass
365 t = Test()
366 database = Database()
367 with self.assertRaises(DatabaseValidationError):
368 database.delete(t)
369 with self.assertRaises(AttributeError):
370 t.database
371
372
373def test_repr() -> None:

Callers

nothing calls this directly

Calls 3

deleteMethod · 0.95
DatabaseClass · 0.90
TestClass · 0.85

Tested by

no test coverage detected