From 105308e1292d231f5df19d1d7e2cf54aa42e1f9d Mon Sep 17 00:00:00 2001 From: Calen Pennington Date: Thu, 2 Jun 2016 10:26:26 -0400 Subject: [PATCH] Use translation.deactivate, rather than explicitly activating the current settings LANGUAGE_CODE --- cms/djangoapps/contentstore/tests/test_i18n.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cms/djangoapps/contentstore/tests/test_i18n.py b/cms/djangoapps/contentstore/tests/test_i18n.py index 2a2880a8e3..612b39c76f 100644 --- a/cms/djangoapps/contentstore/tests/test_i18n.py +++ b/cms/djangoapps/contentstore/tests/test_i18n.py @@ -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): """