'With the right API key, request that expired course verifications are still returned.'

def test_enrollment_includes_expired_verified(self):

    CourseModeFactory.create(course_id=self.course.id, mode_slug=CourseMode.HONOR, mode_display_name=CourseMode.HONOR)
    CourseModeFactory.create(course_id=self.course.id, mode_slug=CourseMode.VERIFIED, mode_display_name=CourseMode.VERIFIED, expiration_datetime='1970-01-01    05:00:00')
    v_response = self.client.get(reverse('courseenrollmentdetails', kwargs={'course_id': unicode(self.course.id)}), {'include_expired': True})
    v_data = json.loads(v_response.content)
    self.assertEqual(len(v_data['course_modes']), 2)
    h_response = self.client.get(reverse('courseenrollmentdetails', kwargs={'course_id': unicode(self.course.id)}))
    h_data = json.loads(h_response.content)
    self.assertEqual(len(h_data['course_modes']), 1)
    self.assertEqual(h_data['course_modes'][0]['slug'], CourseMode.HONOR)
