Make the test a little safer
This commit is contained in:
@@ -840,7 +840,8 @@ def testGuiMain_OpenClose(qtbot, monkeypatch, nwGUI, projPath, fncPath, mockRnd)
|
||||
CONFIG.backupOnClose = True
|
||||
assert nwGUI.openProject(projPath) is True
|
||||
nwGUI.closeProject()
|
||||
assert len(list(backDir.glob("*.zip"))) == 1
|
||||
assert backDir.exists()
|
||||
assert len(list(backDir.iterdir())) > 0
|
||||
|
||||
|
||||
@pytest.mark.gui
|
||||
|
||||
Reference in New Issue
Block a user