forked from qt-creator/qt-creator
Squish: Port tst_create_proj_wizard to Python3
While staying compatible with Python2. Change-Id: I1de16a4a066b00bc11b4142e144d7b9246f7c14c Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
############################################################################
|
||||
#
|
||||
# Copyright (C) 2016 The Qt Company Ltd.
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# Contact: https://www.qt.io/licensing/
|
||||
#
|
||||
# This file is part of Qt Creator.
|
||||
@@ -66,8 +66,8 @@ def main():
|
||||
availableProjectTypes.append({category:template})
|
||||
safeClickButton("Cancel")
|
||||
for current in availableProjectTypes:
|
||||
category = current.keys()[0]
|
||||
template = current.values()[0]
|
||||
category = list(current.keys())[0]
|
||||
template = list(current.values())[0]
|
||||
with TestSection("Testing project template %s -> %s" % (category, template)):
|
||||
displayedPlatforms = __createProject__(category, template)
|
||||
if template == "Qt Quick Application":
|
||||
|
Reference in New Issue
Block a user