Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
pmakwana93 committed Oct 22, 2024
1 parent a40e06d commit fdf74a2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions enterprise_catalog/apps/api/v2/tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,5 +284,7 @@ def test_get_content_metadata(
results = response.data.get('results')[0]
self.assertEqual(results.get('key'), 'edX+course')
course_runs = results.get('course_runs')
# only one (unrestricted) run is returned
self.assertEqual(len(course_runs), 1)
# contains only the unrestricted run
self.assertEqual(course_runs[0].get('key'), 'course-v1:edX+course+run1')

0 comments on commit fdf74a2

Please sign in to comment.