From fd08c7e6e8ae8fc3a5e48e1d65300586a61993b5 Mon Sep 17 00:00:00 2001 From: Robert Loehning Date: Mon, 2 Sep 2013 17:30:24 +0200 Subject: [PATCH] Squish: Fix failure message Change-Id: I77f46ccc87fe0ae64fcab17c35af93c6064dc9f4 Reviewed-by: Christian Stenger --- tests/system/shared/editor_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/system/shared/editor_utils.py b/tests/system/shared/editor_utils.py index 17208e7c960..e7bd16cada4 100644 --- a/tests/system/shared/editor_utils.py +++ b/tests/system/shared/editor_utils.py @@ -216,7 +216,7 @@ def __handleColorTips__(colTip, expectedColor): if rgb.rgba() == cmp.rgba(): test.passes("ColorTip verified") 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) # match the given properties