Another attempt at forcing the test word counter

This commit is contained in:
Veronica K. B. Olsen
2020-06-17 20:23:20 +02:00
parent f2c1ce1cca
commit deec57c9c6
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ install:
- pip install --upgrade pip
- pip install -r requirements.txt
# - pip install pytest-faulthandler
- pip install PyVirtualDisplay==0.2.5
- pip install PyVirtualDisplay
- pip install pytest-xvfb
- pip install pytest-cov
- pip install pytest-qt
+3 -2
View File
@@ -215,8 +215,9 @@ def testMainWindows(qtbot, nwTempGUI, nwRef, nwTemp):
qtbot.keyClick(nwGUI.docEditor, Qt.Key_Return, delay=keyDelay)
qtbot.wait(stepDelay)
nwGUI.docEditor.wCounter.start()
qtbot.wait(1000)
nwGUI.docEditor.wCounter.run()
nwGUI.docEditor._updateCounts()
qtbot.wait(stepDelay)
# Save the document
assert nwGUI.docEditor.docChanged