assert_classmethod_isconcrete#

pybrops.test.assert_python.assert_classmethod_isconcrete(obj, name)[source]#

Assert an object has a concrete classmethod. Must have several attributes:

  1. have the classmethod

  2. have a docstring for the classmethod

  3. classmethod must not raise NotImplementedError

Parameters:
  • obj (object) – Any Python object.

  • met (str) – Name of the classmethod to test

Return type:

None