Skip to content

Commit

Permalink
fix: format OrderedDict
Browse files Browse the repository at this point in the history
  • Loading branch information
andrey-canon committed May 9, 2024
1 parent e094571 commit 8abf678
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cms/djangoapps/contentstore/rest_api/v1/tests/test_home.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Unit tests for home page view.
"""
import ddt
import json
from django.conf import settings
from django.urls import reverse
from edx_toggles.toggles.testutils import override_waffle_switch
Expand Down Expand Up @@ -65,7 +66,7 @@ def test_home_page_response(self):
}

self.assertEqual(response.status_code, status.HTTP_200_OK)
self.assertDictEqual(expected_response, response.data)
self.assertDictEqual(expected_response, json.loads(json.dumps(response.data)))

@override_waffle_switch(ENABLE_GLOBAL_STAFF_OPTIMIZATION, True)
def test_org_query_if_passed(self):
Expand Down

0 comments on commit 8abf678

Please sign in to comment.