Skip to content

Commit

Permalink
Merge pull request #21 from yakimka/fix_test
Browse files Browse the repository at this point in the history
Fix "Not use system font" test
  • Loading branch information
yakimka authored Oct 8, 2020
2 parents 8a19e0c + 2849e86 commit 20fc615
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ def test_use_system_font():


def test_not_use_system_font():
main.CherryTomatoSettings.createQT().useSystemFont = True
main.CherryTomatoSettings.createQT().useSystemFont = False

main.main()

main.QSystemTrayIcon.assert_called()
main.addCustomFont.assert_called()

0 comments on commit 20fc615

Please sign in to comment.