Added the new insert menu entries to the corresponding test
This commit is contained in:
@@ -1049,6 +1049,14 @@ def testInsertMenu(qtbot, nwTempGUI, nwFuncTemp, nwTemp):
|
|||||||
assert nwGUI.docEditor.getText() == nwGUI.mainConf.fmtDoubleQuotes[1]
|
assert nwGUI.docEditor.getText() == nwGUI.mainConf.fmtDoubleQuotes[1]
|
||||||
nwGUI.docEditor.clear()
|
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)
|
nwGUI.mainMenu.aInsHardBreak.activate(QAction.Trigger)
|
||||||
assert nwGUI.docEditor.getText() == " \n"
|
assert nwGUI.docEditor.getText() == " \n"
|
||||||
nwGUI.docEditor.clear()
|
nwGUI.docEditor.clear()
|
||||||
|
|||||||
Reference in New Issue
Block a user