'Tests case user that pulls her own certificate'

def test_certificate_for_user(self):

    self.client.login(username=self.student.username, password=USER_PASSWORD)
    resp = self.client.get(self.get_url(self.student.username))
    self.assertEqual(resp.status_code, status.HTTP_200_OK)
    self.assertEqual(resp.data, {'username': self.student.username, 'status': CertificateStatuses.downloadable, 'is_passing': True, 'grade': '0.88', 'download_url': 'www.google.com', 'certificate_type': CourseMode.VERIFIED, 'course_id': unicode(self.course.id), 'created_date': self.now})
