Merge pull request #21769 from edx/PROD-663/nulltranslations-attribute-error
NullTranslations object doesn't have ugettext attribute
This commit is contained in:
@@ -12,9 +12,9 @@ from django.contrib.auth.models import User
|
||||
from django.utils import translation
|
||||
from django.utils.translation import get_language
|
||||
|
||||
from openedx.core.lib.edx_six import get_gettext
|
||||
from contentstore.tests.utils import AjaxEnabledTestClient
|
||||
from contentstore.views.preview import _preview_module_system
|
||||
from openedx.core.lib.edx_six import get_gettext
|
||||
from xmodule.modulestore.django import ModuleI18nService
|
||||
from xmodule.modulestore.tests.django_utils import ModuleStoreTestCase
|
||||
from xmodule.modulestore.tests.factories import CourseFactory, ItemFactory
|
||||
|
||||
Reference in New Issue
Block a user