diff --git a/common/lib/xmodule/xmodule/modulestore/tests/test_location_mapper.py b/common/lib/xmodule/xmodule/modulestore/tests/test_location_mapper.py index 878d303928..90da230e76 100644 --- a/common/lib/xmodule/xmodule/modulestore/tests/test_location_mapper.py +++ b/common/lib/xmodule/xmodule/modulestore/tests/test_location_mapper.py @@ -408,3 +408,9 @@ class TrivialCache(object): mock set_many """ self.cache.update(entries) + + def set(self, key, entry): + """ + mock set + """ + self.cache[key] = entry