Skip to content

Commit

Permalink
Better failure message for exact keys
Browse files Browse the repository at this point in the history
  • Loading branch information
Chase Lambert committed Apr 2, 2018
1 parent 357c224 commit 9dd6323
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion check_http_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def checkEquality(self, equality_list):
k, v = kv.split(',')
key, alias = _getKeyAlias(k)
if (self.helper.equals(key, v) == False):
failure += " Value for key %s did not match %s." % (alias, v)
failure += " Key %s mismatch. %s != %s" % (alias, v, self.helper.get(key))
return failure

def checkThreshold(self, key, alias, r):
Expand Down

0 comments on commit 9dd6323

Please sign in to comment.