assert_property_isabstract#

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

Assert an object has an abstract property. Must have several attributes:

  1. have the property

  2. have a docstring for the property

  3. fget, fset, fdel methods must be abstract if they are defined.

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

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

Return type:

None