Just disable the wizard test for macOS

This commit is contained in:
Veronica K. B. Olsen
2020-10-01 23:17:43 +02:00
parent a460c3d682
commit 1bf5c2de91
+5
View File
@@ -6,6 +6,7 @@ import nw
import pytest
import json
import os
import sys
from shutil import copyfile
from nwtools import cmpFiles, getGuiItem
@@ -718,6 +719,10 @@ def testMergeSplitTools(qtbot, monkeypatch, yesToAll, nwTempGUI, nwLipsum, nwRef
@pytest.mark.gui
def testNewProjectWizard(qtbot, monkeypatch, yesToAll, nwMinimal, nwTemp):
if sys.platform.startswith("darwin"):
# Disable for macOS because the test segfaults on QWizard.show()
return
from PyQt5.QtWidgets import QWizard
from nw.gui.projwizard import (
ProjWizardIntroPage, ProjWizardFolderPage, ProjWizardPopulatePage,