diff options
author | Christian Stenger <christian.stenger@qt.io> | 2018-08-10 08:16:19 +0200 |
---|---|---|
committer | Christian Stenger <christian.stenger@qt.io> | 2018-08-10 10:39:47 +0000 |
commit | 8c1a2eb2c01873235b76bb7ababe0821632c9eda (patch) | |
tree | 9248c9bbe13e16fcaec8de0b0c9d6b66db3e7880 /tests | |
parent | 94fb8efab1d8579dd6fc2f52040ea77a74d521f8 (diff) |
Squish: Fix passing argument to helper function
The code of the helper function has changed and what worked
before by pure coincidence now fell apart.
Passing a list to a function that tries to use it as a key
for a dict results in an exception as lists are not hashable.
The code is likely to change by adding a newer kit. This patch
just makes the current state work without crashing instead of
adding functionality that is not yet used.
Amends aed1616b351e909b870e5caccd544b66b16000bf.
Change-Id: I6e8a6490988700de14596ba981b5e6900133a79d
Reviewed-by: Robert Loehning <robert.loehning@qt.io>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/system/suite_qtquick/tst_qtquick_creation/test.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/system/suite_qtquick/tst_qtquick_creation/test.py b/tests/system/suite_qtquick/tst_qtquick_creation/test.py index 3eda2c6e0ee..70b2497edd9 100644 --- a/tests/system/suite_qtquick/tst_qtquick_creation/test.py +++ b/tests/system/suite_qtquick/tst_qtquick_creation/test.py @@ -33,10 +33,10 @@ def main(): available = [("5.6", False), ("5.6", True)] for qtVersion, controls in available: - targ = [Targets.DESKTOP_5_6_1_DEFAULT] + targ = Targets.DESKTOP_5_6_1_DEFAULT # using a temporary directory won't mess up a potentially existing workingDir = tempDir() - checkedTargets = createNewQtQuickApplication(workingDir, targets=targ, + checkedTargets = createNewQtQuickApplication(workingDir, targets=[targ], minimumQtVersion=qtVersion, withControls = controls)[0] if len(checkedTargets) == 0: |