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