diff --git a/tests/test_qt.py b/tests/test_qt.py index f37cb6c..55df417 100644 --- a/tests/test_qt.py +++ b/tests/test_qt.py @@ -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()