'Tests that requesting a non-existent course from get_from_id raises
CourseOverview.DoesNotExist.
Arguments:
modulestore_type (ModuleStoreEnum.Type): type of store to create the
course in.'

@ddt.data(ModuleStoreEnum.Type.split, ModuleStoreEnum.Type.mongo)
def test_get_non_existent_course(self, modulestore_type):

    store = modulestore()._get_modulestore_by_type(modulestore_type)
    with self.assertRaises(CourseOverview.DoesNotExist):
        CourseOverview.get_from_id(store.make_course_key('Non', 'Existent', 'Course'))
