Squish: Fix failure message

Change-Id: I77f46ccc87fe0ae64fcab17c35af93c6064dc9f4
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
This commit is contained in:
Robert Loehning
2013-09-02 17:30:24 +02:00
parent 81d9d9126f
commit fd08c7e6e8

View File

@@ -216,7 +216,7 @@ def __handleColorTips__(colTip, expectedColor):
if rgb.rgba() == cmp.rgba(): if rgb.rgba() == cmp.rgba():
test.passes("ColorTip verified") test.passes("ColorTip verified")
else: else:
test.fail("ColorTip does not match - expected color '%s' got '%s'" % (rgb.rgb(), cmp.rgb())) test.fail("ColorTip does not match - expected color '%s' got '%s'" % (cmp.rgb(), rgb.rgb()))
# function that checks whether all expected properties (including their values) # function that checks whether all expected properties (including their values)
# match the given properties # match the given properties