SquishTests: Make sure tst_git_local cleans up properly

Creator still writes gitProject.pro.user after cleanup() ran.

Change-Id: I78c8247090a7032b21ee3a763fd390bb16f3d24b
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Robert Löhning
2023-06-30 20:09:43 +02:00
parent 5c7cbe802a
commit 1487f1a0c0

View File

@@ -206,6 +206,7 @@ def main():
test.compare(str(changed.plainText), "Retrieving data failed.", test.compare(str(changed.plainText), "Retrieving data failed.",
"Showing an invalid commit can't succeed but Creator survived.") "Showing an invalid commit can't succeed but Creator survived.")
invokeMenuItem("File", "Exit") invokeMenuItem("File", "Exit")
waitForCleanShutdown()
def deleteProject(): def deleteProject():
path = os.path.join(srcPath, projectName) path = os.path.join(srcPath, projectName)