Philipp Hörist pushed to branch storage at gajim / gajim


Commits:
27358abe by Philipp Hörist at 2024-03-18T00:14:27+01:00
cq: Fix unittest

- - - - -


1 changed file:

- test/database/test_methods.py


Changes:

=====================================
test/database/test_methods.py
=====================================
@@ -199,7 +199,7 @@ def test_get_days_containing_messages(self) -> None:
             'testacc1', remote_jid, 2024, 1
         )
 
-        self.assertEqual(days, [1, 2, 3] if offset_s < 0 else [1, 2, 3, 4],
+        self.assertEqual(days, [1, 2, 3] if offset_s <= 0 else [1, 2, 3, 4],
                          msg=f'Localtime: {localtime}, offset: {offset_s}')
 
     def test_get_last_history_ts(self) -> None:



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/27358abe04c94de47bdb436693d8c56468944b51

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/27358abe04c94de47bdb436693d8c56468944b51
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to