MCPcopy
hub / github.com/django/django / test_simple_equal

Method test_simple_equal

tests/test_utils/tests.py:1155–1158  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1153
1154class JSONEqualTests(SimpleTestCase):
1155 def test_simple_equal(self):
1156 json1 = '{"attr1": "foo", "attr2":"baz"}'
1157 json2 = '{"attr1": "foo", "attr2":"baz"}'
1158 self.assertJSONEqual(json1, json2)
1159
1160 def test_simple_equal_unordered(self):
1161 json1 = '{"attr1": "foo", "attr2":"baz"}'

Callers

nothing calls this directly

Calls 1

assertJSONEqualMethod · 0.80

Tested by

no test coverage detected