Skip to content

Commit 3f51054

Browse files
committed
test: skip Redwood-only TestCourseRecommendationApiView from chery-pick
1 parent 1754c44 commit 3f51054

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

lms/djangoapps/learner_dashboard/api/v0/tests/test_views.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
22
Unit tests for Learner Dashboard REST APIs and Views
33
"""
4-
4+
import unittest
55
from unittest import mock
66
from uuid import uuid4
77

@@ -11,6 +11,8 @@
1111
from django.urls import reverse_lazy
1212
from edx_toggles.toggles.testutils import override_waffle_flag
1313
from enterprise.models import EnterpriseCourseEnrollment
14+
15+
from openedx.core.release import RELEASE_LINE
1416
from xmodule.modulestore.tests.django_utils import SharedModuleStoreTestCase
1517
from xmodule.modulestore.tests.factories import (
1618
CourseFactory as ModuleStoreCourseFactory,
@@ -244,6 +246,10 @@ def test_program_empty_list_if_no_enterprise_enrollments(self):
244246

245247

246248
@ddt.ddt
249+
@unittest.skipIf(
250+
RELEASE_LINE=="palm",
251+
'Omar note: This is mostly a Redwood test that got here through cherry-picks',
252+
)
247253
class TestCourseRecommendationApiView(TestCase):
248254
"""Unit tests for the course recommendations on dashboard page."""
249255

0 commit comments

Comments
 (0)