'Test get_course and has_course with ids which don\'t exist'

def test_no_such_course(self):

    for course_key in [CourseKey.from_string('/'.join(fields)) for fields in [['edX', 'simple', 'no_such_course'], ['edX', 'no_such_course', '2012_Fall'], ['NO_SUCH_COURSE', 'Test_iMport_courSe', '2012_Fall']]]:
        course = self.draft_store.get_course(course_key)
        assert_is_none(course)
        assert_false(self.draft_store.has_course(course_key))
        mix_cased = CourseKey.from_string('/'.join([course_key.org.lower(), course_key.course.upper(), course_key.run.upper()]))
        assert_false(self.draft_store.has_course(mix_cased))
        assert_false(self.draft_store.has_course(mix_cased, ignore_case=True))
