Skip to content

Commit e2d50f5

Browse files
committed
test: fix ENABLE_CATALOG_MICROFRONTEND look up in tests
1 parent 02b8724 commit e2d50f5

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

common/djangoapps/util/tests/test_course.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ def get_course_sharing_link(self, enable_social_sharing, enable_mktg_site, use_o
5353
mock_settings = {
5454
'FEATURES': {
5555
'ENABLE_MKTG_SITE': enable_mktg_site,
56-
'ENABLE_CATALOG_MICROFRONTEND': False,
5756
},
5857
'SOCIAL_SHARING_SETTINGS': {
5958
'CUSTOM_COURSE_URLS': enable_social_sharing
6059
},
60+
'ENABLE_CATALOG_MICROFRONTEND': False
6161
}
6262

6363
with mock.patch.multiple('django.conf.settings', **mock_settings):

lms/djangoapps/branding/test_toggles.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ def test_use_catalog_mfe(self, enabled):
1919
"""
2020
Test the use_catalog_mfe toggle.
2121
"""
22-
with override_settings(FEATURES={'ENABLE_CATALOG_MICROFRONTEND': enabled}):
22+
with override_settings(ENABLE_CATALOG_MICROFRONTEND=enabled):
2323
assert use_catalog_mfe() == enabled

0 commit comments

Comments
 (0)