'Make sure we get back the store type we expect for given mappings'

@ddt.data(ModuleStoreEnum.Type.mongo, ModuleStoreEnum.Type.split)
def test_get_modulestore_type(self, default_ms):

    self.initdb(default_ms)
    self.assertEqual(self.store.get_modulestore_type(self._course_key_from_string(self.MONGO_COURSEID)), default_ms)
    self.assertEqual(self.store.get_modulestore_type(CourseKey.from_string('foo/bar/2012_Fall')), default_ms)
