From 185c73bd7d22e0b485fdcb97efd55a74411a9c50 Mon Sep 17 00:00:00 2001 From: Arslan Date: Wed, 9 Mar 2022 15:31:56 +0500 Subject: [PATCH] fix: update test function name --- openedx/core/djangoapps/credit/tests/test_services.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openedx/core/djangoapps/credit/tests/test_services.py b/openedx/core/djangoapps/credit/tests/test_services.py index 4a365c2097..329c0bb319 100644 --- a/openedx/core/djangoapps/credit/tests/test_services.py +++ b/openedx/core/djangoapps/credit/tests/test_services.py @@ -264,7 +264,7 @@ class CreditServiceTests(ModuleStoreTestCase): assert credit_state['course_name'] == self.course.display_name @patch("openedx.core.djangoapps.credit.services.log") - def test_course_exception_log(self, exception_log): + def test_get_info_from_non_existent_course(self, exception_log): """ Make sure we catch the CourseOverview.DoesNotExist exception and log it instead of raising """