From 769788a452e67a00d08573eee9dd6988600b91f5 Mon Sep 17 00:00:00 2001 From: Robert Loehning <robert.loehning@digia.com> Date: Tue, 27 Aug 2013 17:13:27 +0200 Subject: [PATCH] Squish: Remove outdated workaround from tst_codepasting Change-Id: I62d236ad691c878a324a307d3e9b1ce6c183966a Reviewed-by: Christian Stenger <christian.stenger@digia.com> --- tests/system/suite_tools/tst_codepasting/test.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/system/suite_tools/tst_codepasting/test.py b/tests/system/suite_tools/tst_codepasting/test.py index 222297416f6..6cc8d18e978 100644 --- a/tests/system/suite_tools/tst_codepasting/test.py +++ b/tests/system/suite_tools/tst_codepasting/test.py @@ -77,8 +77,6 @@ def main(): clickButton(waitForObject(":CodePaster__Internal__PasteSelectDialog.OK_QPushButton")) filenameCombo = waitForObject(":Qt Creator_FilenameQComboBox") waitFor("not filenameCombo.currentText.isEmpty()", 20000) - if protocol == "Pastebin.Com": - protocol = "Pastebin.com" editor = waitForObject(":Qt Creator_CppEditor::Internal::CPPEditorWidget") test.compare(filenameCombo.currentText, "%s: %s" % (protocol, pasteId), "Verify title of editor") test.compare(editor.plainText, pastedText, "Verify that pasted and fetched texts are the same") -- GitLab