def test_filter_moderated_objects_returns_object(self):
        moderated_object = ModeratedObject(content_object=self.profile)
        moderated_object.save()
        moderated_object.approve()

        self.profile.description = "New"
        self.profile.save()

        self.assertEqual(str(UserProfile.objects.all()),
                         '[<UserProfile: moderator - http://www.google.com>]')
Test if filter_moderated_objects return object when object 
dataset/ETHPy150Open dominno/django-moderation/tests/tests/unit/testmanagers.py/ModerationObjectsManagerTestCase.test_filter_moderated_objects_returns_object