assert_method_isconcrete#

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

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

  1. have the method

  2. have a docstring for the method

  3. method must not raise NotImplementedError

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

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

Return type:

None