'Make sure the value of self.user.profile.has_profile_image is what we
expect.'

def check_has_profile_image(self, has_profile_image=True):

    profile = self.user.profile.__class__.objects.get(user=self.user)
    self.assertEqual(profile.has_profile_image, has_profile_image)
