Skip to content

Commit

Permalink
Update tests (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
niklashenning committed Aug 27, 2024
1 parent 6441f05 commit 54a7b15
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/toast_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -848,6 +848,11 @@ def test_set_colors(qtbot):
assert toast.getCloseButtonIconColor() == QColor('#1fad96')
assert toast.getDurationBarColor() == QColor('#cc640e')

toast.setIconColor(None)
toast.setCloseButtonIconColor(None)
assert toast.getIconColor() is None
assert toast.getCloseButtonIconColor() is None


def test_set_fonts(qtbot):
"""Test setting the fonts of a toast"""
Expand Down

0 comments on commit 54a7b15

Please sign in to comment.