'Verify learner profile page view.'

def test_view(self):

    profile_path = reverse('learner_profile', kwargs={'username': self.USERNAME})
    response = self.client.get(path=profile_path)
    for attribute in self.CONTEXT_DATA:
        self.assertIn(attribute, response.content)
