'Approving a non existent user profile does nothing and returns False'

def test_admin_approval_nonexistent_id(self):

    new_user = self.registration_profile.objects.create_inactive_user(site=Site.objects.get_current(), **self.user_info)
    profile = self.registration_profile.objects.get(user=new_user)
    user = self.registration_profile.objects.admin_approve_user(profile.id, Site.objects.get_current())
    self.failIf(isinstance(user, UserModel()))
    self.assertEqual(user, False)
