Commit 105308e1 by Calen Pennington

Use translation.deactivate, rather than explicitly activating the current settings LANGUAGE_CODE

parent 6963c530
......@@ -66,7 +66,7 @@ class TestModuleI18nService(ModuleStoreTestCase):
self.descriptor,
self.field_data,
)
self.addCleanup(translation.activate, settings.LANGUAGE_CODE)
self.addCleanup(translation.deactivate)
def get_module_i18n_service(self, descriptor):
"""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment