Skip to content

Commit

Permalink
chore: code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
pmakwana93 committed Oct 17, 2024
1 parent 9f3e20b commit b4a7cf8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions enterprise_catalog/apps/api/v2/tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,6 @@ def test_get_content_metadata_restricted(
['edX+course'],
include_restricted=False
)
print(f"Response Restricted (should be empty): {response_restricted}")
self.assertEqual(len(response_restricted), 1)
self.assertIn('edX+course', [item.content_key for item in response_restricted])

Expand All @@ -226,7 +225,6 @@ def test_get_content_metadata_restricted(
['edX+course'],
include_restricted=True
)
print(f"Response with Restricted Content: {response_with_restricted}") # Debugging output
self.assertTrue(len(response_with_restricted) > 0)
self.assertIn('edX+course', [item.content_key for item in response_with_restricted])

Expand Down

0 comments on commit b4a7cf8

Please sign in to comment.