Show More
@@ -49,7 +49,8 b' def assert_call_ok(id_, given):' | |||
|
49 | 49 | def assert_ok(id_, expected, given): |
|
50 | 50 | given = json.loads(given) |
|
51 | 51 | if given.get('error'): |
|
52 | pytest.fail("Unexpected ERROR in success response: {}".format(given['error'])) | |
|
52 | err = given['error'] | |
|
53 | pytest.fail(u"Unexpected ERROR in success response: {}".format(err)) | |
|
53 | 54 | |
|
54 | 55 | expected = jsonify({ |
|
55 | 56 | 'id': id_, |
General Comments 0
You need to be logged in to leave comments.
Login now