Force tests to run with qt<5.15
This commit is contained in:
+2
-3
@@ -8,15 +8,14 @@ addons:
|
|||||||
apt:
|
apt:
|
||||||
packages:
|
packages:
|
||||||
- libenchant-dev
|
- libenchant-dev
|
||||||
- python3-pyqt5
|
|
||||||
- python3-pyqt5.qtsvg
|
|
||||||
python:
|
python:
|
||||||
- "3.6"
|
- "3.6"
|
||||||
- "3.7"
|
- "3.7"
|
||||||
- "3.8"
|
- "3.8"
|
||||||
install:
|
install:
|
||||||
- pip install --upgrade pip
|
- pip install --upgrade pip
|
||||||
- pip install -r requirements.txt
|
- pip install lxml
|
||||||
|
- pip install pyqt5<5.15
|
||||||
# - pip install pytest-faulthandler
|
# - pip install pytest-faulthandler
|
||||||
- pip install PyVirtualDisplay
|
- pip install PyVirtualDisplay
|
||||||
- pip install pytest-xvfb
|
- pip install pytest-xvfb
|
||||||
|
|||||||
@@ -216,7 +216,6 @@ def testMainWindows(qtbot, nwTempGUI, nwRef, nwTemp):
|
|||||||
|
|
||||||
qtbot.wait(stepDelay)
|
qtbot.wait(stepDelay)
|
||||||
nwGUI.docEditor.wCounter.run()
|
nwGUI.docEditor.wCounter.run()
|
||||||
nwGUI.docEditor._updateCounts()
|
|
||||||
qtbot.wait(stepDelay)
|
qtbot.wait(stepDelay)
|
||||||
|
|
||||||
# Save the document
|
# Save the document
|
||||||
|
|||||||
Reference in New Issue
Block a user