From 21d68eb1dc015dd000e2c7aaa6ad96420bb494c4 Mon Sep 17 00:00:00 2001 From: "Veronica K. B. Olsen" <1619840+vkbo@users.noreply.github.com> Date: Sat, 22 Aug 2020 13:20:39 +0200 Subject: [PATCH] Added the new insert menu entries to the corresponding test --- tests/test_gui.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/test_gui.py b/tests/test_gui.py index f7104308..318c9f1a 100644 --- a/tests/test_gui.py +++ b/tests/test_gui.py @@ -1049,6 +1049,14 @@ def testInsertMenu(qtbot, nwTempGUI, nwFuncTemp, nwTemp): assert nwGUI.docEditor.getText() == nwGUI.mainConf.fmtDoubleQuotes[1] nwGUI.docEditor.clear() + nwGUI.mainMenu.aInsMSApos.activate(QAction.Trigger) + assert nwGUI.docEditor.getText() == nwUnicode.U_MAPOSS + nwGUI.docEditor.clear() + + nwGUI.mainMenu.aInsMDApos.activate(QAction.Trigger) + assert nwGUI.docEditor.getText() == nwUnicode.U_MAPOSD + nwGUI.docEditor.clear() + nwGUI.mainMenu.aInsHardBreak.activate(QAction.Trigger) assert nwGUI.docEditor.getText() == " \n" nwGUI.docEditor.clear()