(self)
| 1163 | self.assertJSONEqual(json1, json2) |
| 1164 | |
| 1165 | def test_simple_equal_raise(self): |
| 1166 | json1 = '{"attr1": "foo", "attr2":"baz"}' |
| 1167 | json2 = '{"attr2":"baz"}' |
| 1168 | with self.assertRaises(AssertionError): |
| 1169 | self.assertJSONEqual(json1, json2) |
| 1170 | |
| 1171 | def test_equal_parsing_errors(self): |
| 1172 | invalid_json = '{"attr1": "foo, "attr2":"baz"}' |
nothing calls this directly
no test coverage detected