예제 #1
0
 def test_invalid_course_run_key_enrollment(self):
     course_run = {
         'key': 'cr_key',
     }
     enrollment_ids = {CourseKey.from_string('course-v1:DelftX+NGIx+RA0')}
     self.assertFalse(is_enrolled_in_course_run(course_run, enrollment_ids))
예제 #2
0
 def test_invalid_course_run_key_enrollment(self):
     course_run = {
         'key': 'cr_key',
     }
     enrollment_ids = {CourseKey.from_string('course-v1:DelftX+NGIx+RA0')}
     self.assertFalse(is_enrolled_in_course_run(course_run, enrollment_ids))