From d46f6144c74bc75c27ba9258df65419276e4fc29 Mon Sep 17 00:00:00 2001 From: Muhammad Afaq Shuaib Date: Fri, 7 Feb 2025 10:40:00 +0500 Subject: [PATCH] chore: add docstring --- .../tests/test_populate_executive_education_data_csv.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/course_discovery/apps/course_metadata/management/commands/tests/test_populate_executive_education_data_csv.py b/course_discovery/apps/course_metadata/management/commands/tests/test_populate_executive_education_data_csv.py index 13c2b8282e..1f831b1c4e 100644 --- a/course_discovery/apps/course_metadata/management/commands/tests/test_populate_executive_education_data_csv.py +++ b/course_discovery/apps/course_metadata/management/commands/tests/test_populate_executive_education_data_csv.py @@ -360,6 +360,10 @@ def test_successful_file_data_population_with_getsmarter_flag_with_multiple_vari def test_taxi_form_post_submit_url_in_case_prospectus_url_is_empty_and_product_type_sprint( self, mock_get_smarter_client ): + """ + Verify that the taxi form post submit url is set to the edxPlpUrl if the prospectusUrl is empty + and the product type is sprint. + """ success_api_response = copy.deepcopy(self.SUCCESS_API_RESPONSE) success_api_response['products'][0]['prospectusUrl'] = '' success_api_response['products'][0]['productType'] = 'sprint'