Add test coverage of document viewer panel

This commit is contained in:
Veronica Berglyd Olsen
2023-11-17 23:01:59 +01:00
parent fca941b726
commit d4560b3be8
3 changed files with 214 additions and 24 deletions
+1 -2
View File
@@ -37,8 +37,7 @@ from novelwriter.dialogs.editlabel import GuiEditLabel
@pytest.mark.gui
def testGuiNovelTree_TreeItems(qtbot, monkeypatch, nwGUI, projPath, mockRnd):
"""Test navigating the novel tree.
"""
"""Test navigating the novel tree."""
monkeypatch.setattr(GuiEditLabel, "getLabel", lambda *a, text: (text, True))
buildTestProject(nwGUI, projPath)