summaryrefslogtreecommitdiff
path: root/tests/system/suite_HELP
diff options
context:
space:
mode:
authorRobert Loehning <robert.loehning@qt.io>2018-08-02 13:45:34 +0200
committerRobert Loehning <robert.loehning@qt.io>2018-08-06 14:21:30 +0000
commitff10f8c3a58c2c57e221e294d5c4829c3fd05c15 (patch)
treec8db8d36d315effe5b7fb3403d32f13416281352 /tests/system/suite_HELP
parentc1f78335e005b311ce3eac94ca48cc573f50a56d (diff)
downloadqt-creator-ff10f8c3a58c2c57e221e294d5c4829c3fd05c15.tar.gz
Squish: Fix warnings
Warnings from static code checks, that is, not test.warning() at runtime. Change-Id: I651d13491106583908059ecdb5f700f539b6d9c8 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'tests/system/suite_HELP')
-rwxr-xr-xtests/system/suite_HELP/tst_HELP06/test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/system/suite_HELP/tst_HELP06/test.py b/tests/system/suite_HELP/tst_HELP06/test.py
index d1d87f0b04..11ef0e7c0e 100755
--- a/tests/system/suite_HELP/tst_HELP06/test.py
+++ b/tests/system/suite_HELP/tst_HELP06/test.py
@@ -107,7 +107,7 @@ def main():
checkIfObjectExists(manualQModelIndex, verboseOnFail = True),
"Verifying if all folders and bookmarks are present")
mouseClick(waitForObject(":Qt Creator_Bookmarks_TreeView"), 5, 5, 0, Qt.LeftButton)
- for i in range(6):
+ for _ in range(6):
type(waitForObject(":Qt Creator_Bookmarks_TreeView"), "<Right>")
type(waitForObject(":Qt Creator_Bookmarks_TreeView"), "<Return>")
test.verify(textForQtVersion("Building and Running an Example") in getHelpTitle(),