diff --git a/tests/system/suite_tools/tst_codepasting/test.py b/tests/system/suite_tools/tst_codepasting/test.py index 222297416f6babf624bafad43bd43215194c2f5f..6cc8d18e978a70739c7c27cb1b4ba3683ab8c064 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")