Fixed coverage for wordcounter.run()

This commit is contained in:
Veronica K. B. Olsen
2019-05-17 20:11:47 +02:00
parent 23435ade1c
commit b27ac35251
+2 -2
View File
@@ -94,8 +94,8 @@ def testMainWindows(qtbot, tmpdir):
qtbot.keyClick(nwGUI.docEditor, Qt.Key_Return, delay=keyDelay)
qtbot.wait(stepDelay)
nwGUI.docEditor._runCounter()
qtbot.wait(1000)
nwGUI.docEditor.wCounter.run()
qtbot.wait(stepDelay)
# Save the document
assert nwGUI.docEditor.docChanged