def METHOD_NAME(self):
    for tname in base.Object.TYPES:
        assert base.Object in get_object_type_by_name(tname).mro()
    # END for each known type
    self.assertRaises(ValueError, get_object_type_by_name, b"doesntexist")