From 98f2a74f900bea4d4801469cd8d99315252462b3 Mon Sep 17 00:00:00 2001 From: Robert Loehning Date: Thu, 29 Jan 2015 16:42:28 +0100 Subject: [PATCH] Squish: Update tst_git_local Change-Id: I4bc64ad82bddf448b6846fe3a75941741c32a24a Reviewed-by: Christian Stenger --- tests/system/suite_tools/tst_git_local/test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/system/suite_tools/tst_git_local/test.py b/tests/system/suite_tools/tst_git_local/test.py index 837d21c581f..a3287a2c8c3 100644 --- a/tests/system/suite_tools/tst_git_local/test.py +++ b/tests/system/suite_tools/tst_git_local/test.py @@ -57,7 +57,7 @@ def commit(commitMessage, expectedLogMessage, uncheckUntracked=False): def verifyItemsInGit(commitMessages): gitEditor = waitForObject(":Qt Creator_Git::Internal::GitEditor") - waitFor("str(gitEditor.plainText) != 'Waiting for data...'", 20000) + waitFor("len(str(gitEditor.plainText)) > 0 and str(gitEditor.plainText) != 'Waiting for data...'", 20000) plainText = str(gitEditor.plainText) verifyItemOrder(commitMessages, plainText) return plainText