(self)
| 1182 | self.assertJSONNotEqual(json1, json2) |
| 1183 | |
| 1184 | def test_simple_not_equal_raise(self): |
| 1185 | json1 = '{"attr1": "foo", "attr2":"baz"}' |
| 1186 | json2 = '{"attr1": "foo", "attr2":"baz"}' |
| 1187 | with self.assertRaises(AssertionError): |
| 1188 | self.assertJSONNotEqual(json1, json2) |
| 1189 | |
| 1190 | def test_not_equal_parsing_errors(self): |
| 1191 | invalid_json = '{"attr1": "foo, "attr2":"baz"}' |
nothing calls this directly
no test coverage detected