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