diff options
author | Robert Loehning <robert.loehning@qt.io> | 2019-07-26 12:49:32 +0200 |
---|---|---|
committer | Robert Loehning <robert.loehning@qt.io> | 2019-07-26 12:48:12 +0000 |
commit | c49f08045813099d48b9f4048f9495f9bd3e8d4f (patch) | |
tree | 740724f9b11777abf2dedd3c098fe7d36a85efe2 /tests | |
parent | 28d1b6215c812a667369c9eea314b926af51d962 (diff) |
Squish: Fix handling of server issues in tst_codepasting
...properly this time, I hope.
Change-Id: I4cf492f28c99fa15425c44f41656e6220f7a8715
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/system/suite_tools/tst_codepasting/test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/system/suite_tools/tst_codepasting/test.py b/tests/system/suite_tools/tst_codepasting/test.py index 7329bdac2e..4f1b4fedd3 100644 --- a/tests/system/suite_tools/tst_codepasting/test.py +++ b/tests/system/suite_tools/tst_codepasting/test.py @@ -53,11 +53,11 @@ def closeHTTPStatusAndPasterDialog(protocol, pasterDialog): if 'Service Unavailable' in text: test.warning(text) return True + test.log("Closed dialog without expected error.", text) except: t,v = sys.exc_info()[:2] test.warning("An exception occurred in closeHTTPStatusAndPasterDialog(): %s(%s)" % (str(t), str(v))) - test.log("Closed dialog without expected error.", text) return False def pasteFile(sourceFile, protocol): |