From 47c39e68b7786e79bf1f9304380ef295548a52a6 Mon Sep 17 00:00:00 2001 From: Veronica Berglyd Olsen <1619840+vkbo@users.noreply.github.com> Date: Sat, 1 Oct 2022 22:44:11 +0200 Subject: [PATCH] Remove the no longer needed changes to the test --- tests/test_gui/test_gui_guimain.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/test_gui/test_gui_guimain.py b/tests/test_gui/test_gui_guimain.py index 1dd69314..fd1218a0 100644 --- a/tests/test_gui/test_gui_guimain.py +++ b/tests/test_gui/test_gui_guimain.py @@ -412,7 +412,6 @@ def testGuiMain_Editing(qtbot, monkeypatch, nwGUI, fncProj, refDir, outDir, mock # Insert spaces before and after quotes nwGUI.mainConf.fmtPadBefore = "\u201d" nwGUI.mainConf.fmtPadAfter = "\u201c" - nwGUI.docEditor.initEditor() for c in "Some \"double quoted text with spaces padded\".": qtbot.keyClick(nwGUI.docEditor, c, delay=typeDelay) @@ -421,11 +420,9 @@ def testGuiMain_Editing(qtbot, monkeypatch, nwGUI, fncProj, refDir, outDir, mock nwGUI.mainConf.fmtPadBefore = "" nwGUI.mainConf.fmtPadAfter = "" - nwGUI.docEditor.initEditor() # Insert spaces before colon, but ignore tags and synopsis nwGUI.mainConf.fmtPadBefore = ":" - nwGUI.docEditor.initEditor() for c in "@object: NoSpaceAdded": qtbot.keyClick(nwGUI.docEditor, c, delay=typeDelay) @@ -448,7 +445,6 @@ def testGuiMain_Editing(qtbot, monkeypatch, nwGUI, fncProj, refDir, outDir, mock qtbot.keyClick(nwGUI.docEditor, Qt.Key_Return, delay=keyDelay) nwGUI.mainConf.fmtPadBefore = "" - nwGUI.docEditor.initEditor() # Indent and Align # ================