(self)
| 1188 | self.assertJSONNotEqual(json1, json2) |
| 1189 | |
| 1190 | def test_not_equal_parsing_errors(self): |
| 1191 | invalid_json = '{"attr1": "foo, "attr2":"baz"}' |
| 1192 | valid_json = '{"attr1": "foo", "attr2":"baz"}' |
| 1193 | with self.assertRaises(AssertionError): |
| 1194 | self.assertJSONNotEqual(invalid_json, valid_json) |
| 1195 | with self.assertRaises(AssertionError): |
| 1196 | self.assertJSONNotEqual(valid_json, invalid_json) |
| 1197 | |
| 1198 | def test_method_frames_ignored_by_unittest(self): |
| 1199 | try: |
nothing calls this directly
no test coverage detected