From 47f5cb84bcca1aa162a55879e0ea675377ee1a17 Mon Sep 17 00:00:00 2001 From: Serhii Nanai Date: Wed, 24 Sep 2025 11:32:30 +0300 Subject: [PATCH] test: fix ddt in test_link_with_new_catalog_page --- lms/djangoapps/learner_home/test_views.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/lms/djangoapps/learner_home/test_views.py b/lms/djangoapps/learner_home/test_views.py index 1c8d92a87d..ddb22a91da 100644 --- a/lms/djangoapps/learner_home/test_views.py +++ b/lms/djangoapps/learner_home/test_views.py @@ -90,13 +90,11 @@ class TestGetPlatformSettings(TestCase): ) @ddt.data( - (True, True, f'{settings.CATALOG_MICROFRONTEND_URL}/courses'), - (True, False, '/courses'), - (False, True, '/courses'), - (False, False, '/courses') + (True, f'{settings.CATALOG_MICROFRONTEND_URL}/courses'), + (False, '/courses'), ) @ddt.unpack - def test_link_with_new_catalog_page(self, catalog_mfe_enabled, use_new_catalog_page, expected_catalog_link): + def test_link_with_new_catalog_page(self, catalog_mfe_enabled, expected_catalog_link): """ Test that the catalog link is constructed correctly based on the MFE flags. """