Update tests

This commit is contained in:
Veronica Berglyd Olsen committed 2024-05-22 23:13:50 +02:00
1 parent cf16b57f66
commit cc32674b0f
8 files changed
+24 -24

No files matched your search

+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