'User should not see coach dashboard if ccx is disbale in studio.'

def test_dashboard_access_of_disabled_ccx(self):

    ccx = CcxFactory(course_id=self.course_disable_ccx.id, coach=self.coach)
    url = reverse('ccx_coach_dashboard', kwargs={'course_id': CCXLocator.from_course_locator(self.course_disable_ccx.id, ccx.id)})
    response = self.client.get(url)
    self.assertEqual(response.status_code, 404)
