Skip to content

Commit

Permalink
test: Skip flaky tests.
Browse files Browse the repository at this point in the history
Made #4431 to track
coming back to fix these but also skip them so we stop getting
inconsistent builds until someone can come back to them.
  • Loading branch information
feanil committed Sep 6, 2024
1 parent 7503517 commit 4331279
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions course_discovery/apps/api/v1/tests/test_views/test_courses.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,7 @@ def test_list(self):
self.serialize_course(Course.objects.all(), many=True)
)

@pytest.mark.skip(reason="https://github.com/openedx/course-discovery/issues/4431")
@responses.activate
def test_list_query(self):
""" Verify the endpoint returns a filtered list of courses """
Expand All @@ -366,6 +367,7 @@ def test_list_query(self):
response = self.client.get(url)
self.assertListEqual(response.data['results'], self.serialize_course(courses, many=True))

@pytest.mark.skip(reason="https://github.com/openedx/course-discovery/issues/4431")
def test_list_key_filter(self):
""" Verify the endpoint returns a list of courses filtered by the specified keys. """
courses = CourseFactory.create_batch(3, partner=self.partner)
Expand Down

0 comments on commit 4331279

Please sign in to comment.