'Tests that course can not be created with different case using an AJAX request to
course handler.'

@ddt.data(ModuleStoreEnum.Type.split, ModuleStoreEnum.Type.mongo)
def test_course_with_different_cases(self, default_store):

    course_number = '99x'
    with self.store.default_store(default_store):
        self.course_data['number'] = course_number.lower()
        self.assert_created_course()
        self.course_data['number'] = course_number.upper()
        self.assert_course_creation_failed(self.duplicate_course_error)
