assert_classmethod_isabstract#
- pybrops.test.assert_python.assert_classmethod_isabstract(obj, name)[source]#
Assert an object has an abstract classmethod. Must have several attributes:
have the classmethod
have a docstring for the classmethod
classmethod must raise NotImplementedError
- Parameters:
obj (object) – Any Python object.
met (str) – Name of the classmethod to test
- Return type:
None