def test_base_type_cannot_be_created(self): with self.assertRaises(NotImplementedError): BaseType('test')
def test_base_has_no_operators(self): self.assertEqual(len(BaseType.get_all_operators()), 0)