def test_response_with_all(self, course_ids):
     summaries_csv = get_mock_course_summaries_csv(course_ids, has_programs=True, has_passing=True)
     self._test_csv(get_mock_course_summaries(course_ids), summaries_csv)
 def test_response_with_programs(self, course_ids):
     summaries_csv = get_mock_course_summaries_csv(course_ids, has_programs=True)
     self._test_csv(get_mock_course_summaries(course_ids, exclude=['passing_users']), summaries_csv)
 def test_response_minimal(self, course_ids):
     summaries_csv = get_mock_course_summaries_csv(course_ids)
     self._test_csv(get_mock_course_summaries(course_ids, exclude=['passing_users']), summaries_csv)
 def get_mock_data(self, course_ids):
     return get_mock_course_summaries(course_ids)
Beispiel #5
0
 def test_response_with_all(self, course_ids):
     summaries_csv = get_mock_course_summaries_csv(course_ids,
                                                   has_programs=True,
                                                   has_passing=True)
     self._test_csv(get_mock_course_summaries(course_ids), summaries_csv)
Beispiel #6
0
 def test_response_minimal(self, course_ids):
     summaries_csv = get_mock_course_summaries_csv(course_ids)
     self._test_csv(
         get_mock_course_summaries(course_ids, exclude=['passing_users']),
         summaries_csv)
Beispiel #7
0
 def test_response_with_programs(self, course_ids):
     summaries_csv = get_mock_course_summaries_csv(course_ids,
                                                   has_programs=True)
     self._test_csv(
         get_mock_course_summaries(course_ids, exclude=['passing_users']),
         summaries_csv)
Beispiel #8
0
 def get_mock_data(self, course_ids):
     return get_mock_course_summaries(course_ids)