'The view should return a paginated list of courses.'

def test_get_with_pagination(self):

    url = '{}?page_size=1'.format(reverse(self.view))
    response = self.http_get(url)
    self.assertEqual(response.status_code, 200)
    courses = response.data['results']
    self.assertEqual(len(courses), 1)
    self.assertValidResponseCourse(courses[0], self.empty_course)
