Add test coverage

This commit is contained in:
Veronica Berglyd Olsen
2024-05-13 18:31:31 +02:00
parent d64acb038b
commit 1b4cc933e7
4 changed files with 38 additions and 19 deletions
+9 -1
View File
@@ -231,7 +231,15 @@ def testGuiMain_Editing(qtbot, monkeypatch, nwGUI, projPath, tstPaths, mockRnd):
# Text Editor
# ===========
docEditor: GuiDocEditor = nwGUI.docEditor
# Syntax Highlighting
CONFIG.dialogStyle = 3
CONFIG.dialogLine = ""
CONFIG.narratorBreak = ""
CONFIG.altDialogOpen = "<|"
CONFIG.altDialogClose = "|>"
docEditor = nwGUI.docEditor
docEditor._qDocument.syntaxHighlighter.initHighlighter()
# Type something into the document
nwGUI.switchFocus(nwWidget.EDITOR)