aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRobert Loehning <robert.loehning@qt.io>2018-05-29 12:26:56 +0200
committerRobert Loehning <robert.loehning@qt.io>2018-05-29 11:43:58 +0000
commitc908a52628e0f4abae258fd2aaa8bc92bcc59008 (patch)
treef701e94d065507775b7d2cc0ae5b664dadd9c591 /tests
parentd8caa228ea614f3afa8bd453a5dcf4d692c6d312 (diff)
Squish: Update to re-uploaded text
This should not expire after another year. Change-Id: I86ed49d491f619509e6bd32fc2624df2a1c24f5f Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/system/suite_tools/tst_codepasting/test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/system/suite_tools/tst_codepasting/test.py b/tests/system/suite_tools/tst_codepasting/test.py
index ed9c405220..023d785312 100644
--- a/tests/system/suite_tools/tst_codepasting/test.py
+++ b/tests/system/suite_tools/tst_codepasting/test.py
@@ -155,7 +155,7 @@ def main():
skippedPasting = True
description = "Paste from 2017-05-11"
if protocol == NAME_KDE:
- pasteId = "pyy2xvjh7" # valid for one year
+ pasteId = "pysjk6n2i"
pastedText = readFile(os.path.join(os.getcwd(), "testdata", "main-prepasted.cpp"))
elif skipPastingToPastebinCom and protocol == NAME_PBCOM:
pasteId = "8XHP0ZgH"
@@ -186,7 +186,7 @@ def main():
clickButton(waitForObject(":*Qt Creator.Clear_QToolButton"))
continue
test.compare(filenameCombo.currentText, "%s: %s" % (protocol, pasteId), "Verify title of editor")
- if protocol == NAME_PBCOM and pastedText.endswith("\n"):
+ if protocol in (NAME_KDE, NAME_PBCOM) and pastedText.endswith("\n"):
pastedText = pastedText[:-1]
test.compare(editor.plainText, pastedText, "Verify that pasted and fetched texts are the same")
invokeMenuItem("File", "Close All")