Update tests

This commit is contained in:
Veronica Berglyd Olsen
2024-05-22 23:13:50 +02:00
parent cf16b57f66
commit cc32674b0f
8 changed files with 24 additions and 24 deletions
+1 -1
View File
@@ -640,7 +640,7 @@ def testBuildSettings_Format(monkeypatch, qtbot, nwGUI):
font = QFont()
font.setFamily("Times")
font.setPointSize(10)
mp.setattr(QFontDialog, "getFont", lambda *a: (font, True))
mp.setattr(QFontDialog, "getFont", lambda *a, **k: (font, True))
fmtTab.btnTextFont.click()
assert fmtTab._textFont == font