From 1dce9b185b5847e4f6eda6bc51f830514feedb16 Mon Sep 17 00:00:00 2001 From: "Veronica K. B. Olsen" <1619840+vkbo@users.noreply.github.com> Date: Sat, 27 Jun 2020 20:17:11 +0200 Subject: [PATCH] Fixed tests --- tests/test_gui.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_gui.py b/tests/test_gui.py index 6ee01405..88e28643 100644 --- a/tests/test_gui.py +++ b/tests/test_gui.py @@ -10,7 +10,7 @@ from PyQt5.QtCore import Qt from nw.gui import ( GuiProjectSettings, GuiItemEditor, GuiAbout, GuiBuildNovel, - GuiDocMerge, GuiDocSplit, GuiSessionLog + GuiDocMerge, GuiDocSplit, GuiWritingStats ) from nw.constants import * @@ -410,7 +410,7 @@ def testItemEditor(qtbot, nwTempGUI, nwRef, nwTemp): # qtbot.stopForInteraction() @pytest.mark.gui -def testSessionLogExport(qtbot, nwTempGUI, nwRef, nwTemp): +def testWritingStatsExport(qtbot, nwTempGUI, nwRef, nwTemp): nwGUI = nw.main(["--testmode","--config=%s" % nwTempGUI, "--data=%s" % nwTemp]) qtbot.addWidget(nwGUI) nwGUI.show() @@ -421,7 +421,7 @@ def testSessionLogExport(qtbot, nwTempGUI, nwRef, nwTemp): qtbot.wait(stepDelay) nwGUI.mainConf.lastPath = nwTempGUI - sessLog = GuiSessionLog(nwGUI, nwGUI.theProject) + sessLog = GuiWritingStats(nwGUI, nwGUI.theProject) sessLog.show() qtbot.wait(stepDelay)