assert_class_ismixin#

pybrops.test.assert_python.assert_class_ismixin(obj)[source]#

Assert an object type is a mixin. Must have several attributes:

  1. Must not have a defined __init__ method within the class.

  2. Must have documentation for the class.

Parameters:

obj (type) – A Python object type.

Return type:

None