| 7 | |
| 8 | |
| 9 | class GraphKnowledgePlaceholderTests(unittest.TestCase): |
| 10 | def test_class_inherits_base(self): |
| 11 | # The class itself exists so users can type-hint it. |
| 12 | self.assertTrue(issubclass(GraphKnowledge, BaseKnowledge)) |
| 13 | |
| 14 | def test_subclassing_blocked(self): |
| 15 | with self.assertRaises(NotImplementedError): |
| 16 | |
| 17 | class _AttemptedGraph(GraphKnowledge): |
| 18 | pass |
| 19 | |
| 20 | |
| 21 | if __name__ == "__main__": |
nothing calls this directly
no outgoing calls
no test coverage detected