Update cursor and messagebox enums

This commit is contained in:
Veronica Berglyd Olsen
2024-09-18 21:51:23 +02:00
parent cc8d7d9912
commit 21d21846ca
9 changed files with 24 additions and 23 deletions
+1 -1
View File
@@ -133,7 +133,7 @@ def testToolManuscriptBuild_Main(
manus.buildPath.setText(str(fncPath))
manus.buildName.setText("TestBuild")
with monkeypatch.context() as mp:
mp.setattr(QMessageBox, "result", lambda *a: QMessageBox.No)
mp.setattr(QMessageBox, "result", lambda *a: QMessageBox.StandardButton.No)
assert manus._runBuild() is False
# Test that the open button works