Skip to content

Commit

Permalink
fix: pep 8 violations
Browse files Browse the repository at this point in the history
  • Loading branch information
luisfelipec95 committed Mar 5, 2024
1 parent 34e4606 commit d9203d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lms/djangoapps/discussion/tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -2281,7 +2281,7 @@ class ForumMFETestCase(ForumsEnableMixin, SharedModuleStoreTestCase):
"""

features_with_enable_mfe_settings = settings.FEATURES.copy()
features_with_enable_mfe_settings['ENABLE_MFE_FOR_TESTING']=True
features_with_enable_mfe_settings['ENABLE_MFE_FOR_TESTING'] = True

def setUp(self):
super().setUp()
Expand Down
2 changes: 1 addition & 1 deletion lms/djangoapps/discussion/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ def redirect_thread_url_to_new_mfe(request, course_id, thread_id):
course_key = CourseKey.from_string(course_id)
discussions_mfe_enabled = ENABLE_DISCUSSIONS_MFE.is_enabled(course_key)
redirect_url = None

if discussions_mfe_enabled and use_discussions_mfe(course_key.org):
mfe_base_url = settings.DISCUSSIONS_MICROFRONTEND_URL
if thread_id:
Expand Down

0 comments on commit d9203d6

Please sign in to comment.