Skip to content

Commit

Permalink
Remove specific year span dependency in test (#478)
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjacob authored Jan 11, 2025
1 parent 5593e00 commit 8129d22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_qt.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,4 +306,4 @@ def test_tray_icon_last_synced(self, qtbot, tray_icon):
exampleDate = datetime(year=1970, month=1, day=10, tzinfo=timezone.utc)
tray_icon.set_last_synced(exampleDate)
assert tray_icon._menu._last_synced == exampleDate
assert '54 years' in tray_icon._menu._status.text()
assert 'years' in tray_icon._menu._status.text()

0 comments on commit 8129d22

Please sign in to comment.