diff --git a/lms/djangoapps/learner_dashboard/api/v0/tests/test_views.py b/lms/djangoapps/learner_dashboard/api/v0/tests/test_views.py index 7a51f4680d35..886f543156ec 100644 --- a/lms/djangoapps/learner_dashboard/api/v0/tests/test_views.py +++ b/lms/djangoapps/learner_dashboard/api/v0/tests/test_views.py @@ -1,7 +1,7 @@ """ Unit tests for Learner Dashboard REST APIs and Views """ - +import unittest from unittest import mock from uuid import uuid4 @@ -11,6 +11,8 @@ from django.urls import reverse_lazy from edx_toggles.toggles.testutils import override_waffle_flag from enterprise.models import EnterpriseCourseEnrollment + +from openedx.core.release import RELEASE_LINE from xmodule.modulestore.tests.django_utils import SharedModuleStoreTestCase from xmodule.modulestore.tests.factories import ( CourseFactory as ModuleStoreCourseFactory, @@ -244,6 +246,10 @@ def test_program_empty_list_if_no_enterprise_enrollments(self): @ddt.ddt +@unittest.skipIf( + RELEASE_LINE == "palm", + 'Omar note: This is mostly a Redwood test that got here through cherry-picks', +) class TestCourseRecommendationApiView(TestCase): """Unit tests for the course recommendations on dashboard page.""" diff --git a/lms/djangoapps/learner_home/recommendations/test_views.py b/lms/djangoapps/learner_home/recommendations/test_views.py index 9edf9002eefe..fc3e13bd2c7f 100644 --- a/lms/djangoapps/learner_home/recommendations/test_views.py +++ b/lms/djangoapps/learner_home/recommendations/test_views.py @@ -3,6 +3,7 @@ """ import json +import unittest from unittest import mock from unittest.mock import Mock @@ -19,9 +20,14 @@ from lms.djangoapps.learner_home.recommendations.waffle import ( ENABLE_LEARNER_HOME_AMPLITUDE_RECOMMENDATIONS, ) +from openedx.core.release import RELEASE_LINE @ddt.ddt +@unittest.skipIf( + RELEASE_LINE == "palm", + 'Omar note: This is mostly a Redwood test that got here through cherry-picks', +) class TestCourseRecommendationApiView(TestCase): """Unit tests for the course recommendations on learner home page."""