diff --git a/lms/djangoapps/course_home_api/outline/tests/test_view.py b/lms/djangoapps/course_home_api/outline/tests/test_view.py index 2714f3ece514..1666b6df5826 100644 --- a/lms/djangoapps/course_home_api/outline/tests/test_view.py +++ b/lms/djangoapps/course_home_api/outline/tests/test_view.py @@ -279,6 +279,8 @@ def test_proctored_exam(self, mock_summary): assert exam_data['due'] is not None assert exam_data['icon'] == 'fa-foo-bar' + @patch.dict('django.conf.settings.FEATURES', {'ENABLE_COURSEWARE_OUTLINE_QUESTION_COUNT': True}) + @patch.dict('django.conf.settings.FEATURES', {'ENABLE_COURSEWARE_OUTLINE_EFFORT_ESTIMATES': True}) def test_assignment(self): course = CourseFactory.create() with self.store.bulk_operations(course.id):