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


Commits:
9ac83301 by Philipp Hörist at 2024-03-18T00:12:30+01:00
cq: Fix errors

- - - - -


2 changed files:

- gajim/common/storage/archive/migration/__init__.py
- test/database/test_methods.py


Changes:

=====================================
gajim/common/storage/archive/migration/__init__.py
=====================================
@@ -1,2 +1,2 @@
-from gajim.common.storage.archive.migration import pre_v7
-from gajim.common.storage.archive.migration import v8
+from gajim.common.storage.archive.migration import pre_v7  # noqa: F401
+from gajim.common.storage.archive.migration import v8  # noqa: F401


=====================================
test/database/test_methods.py
=====================================
@@ -199,7 +199,8 @@ 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:
         remote_jid = JID.from_string('[email protected]')



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/9ac833012df3b2a6a726a6d8765ad93334019daa

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/9ac833012df3b2a6a726a6d8765ad93334019daa
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