Skip to content

Commit 2849e86

Browse files
committed
Fix "Not use system font" test
1 parent 8a19e0c commit 2849e86

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_main.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ def test_use_system_font():
4444

4545

4646
def test_not_use_system_font():
47-
main.CherryTomatoSettings.createQT().useSystemFont = True
47+
main.CherryTomatoSettings.createQT().useSystemFont = False
4848

4949
main.main()
5050

51-
main.QSystemTrayIcon.assert_called()
51+
main.addCustomFont.assert_called()

0 commit comments

Comments
 (0)