MCPcopy
hub / github.com/django/django / test_simple_not_equal

Method test_simple_not_equal

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

Source from the content-addressed store, hash-verified

1177 self.assertJSONEqual(valid_json, invalid_json)
1178
1179 def test_simple_not_equal(self):
1180 json1 = '{"attr1": "foo", "attr2":"baz"}'
1181 json2 = '{"attr2":"baz"}'
1182 self.assertJSONNotEqual(json1, json2)
1183
1184 def test_simple_not_equal_raise(self):
1185 json1 = '{"attr1": "foo", "attr2":"baz"}'

Callers

nothing calls this directly

Calls 1

assertJSONNotEqualMethod · 0.80

Tested by

no test coverage detected