'Assert that only a coach can see progress of student.'

def test_access_student_progress_ccx(self):

    ccx_locator = self.make_ccx()
    student = UserFactory()
    CourseEnrollment.enroll(student, ccx_locator)
    resp = self.client.get(reverse('student_progress', args=[unicode(ccx_locator), student.id]))
    self.assertEqual(resp.status_code, 200)
    self.client.login(username=student.username, password='test')
    resp = self.client.get(reverse('student_progress', args=[unicode(ccx_locator), self.coach.id]))
    self.assertEqual(resp.status_code, 404)
