assert_property_isabstract#
- pybrops.test.assert_python.assert_property_isabstract(obj, name)[source]#
Assert an object has an abstract property. Must have several attributes:
have the property
have a docstring for the property
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