diff options
author | MarcoFalke <falke.marco@gmail.com> | 2016-04-26 18:11:42 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2016-04-26 18:04:26 +0200 |
commit | fada064f67302502f6b51d9d22927381c2707cbb (patch) | |
tree | 7020bf9e43b6f51e6f97d1fe47d710a91f1680e9 /qa/rpc-tests/test_framework/util.py | |
parent | 5555528b47b7d33a5b963c076e6bb09ee25931b5 (diff) |
[qa] test_framework: Properly print exceptions and assert empty dict
Diffstat (limited to 'qa/rpc-tests/test_framework/util.py')
-rw-r--r-- | qa/rpc-tests/test_framework/util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/rpc-tests/test_framework/util.py b/qa/rpc-tests/test_framework/util.py index 27891f7f4c..baa1ed6790 100644 --- a/qa/rpc-tests/test_framework/util.py +++ b/qa/rpc-tests/test_framework/util.py @@ -487,7 +487,7 @@ def assert_array_result(object_array, to_match, expected, should_not_find = Fals in object_array """ if should_not_find == True: - expected = { } + assert_equal(expected, { }) num_matched = 0 for item in object_array: all_match = True |