Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
37dca1cb by wurstsalat at 2022-10-06T16:55:49+02:00
refactor: Remove usage of app.connections in tests
- - - - -
1 changed file:
- test/no_gui/test_nick_completion.py
Changes:
=====================================
test/no_gui/test_nick_completion.py
=====================================
@@ -24,7 +24,7 @@ def test_generate_suggestions(self):
participant.name = name
participants.append(participant)
- app.connections = MagicMock()
+ app.get_client = MagicMock()
app.storage.archive = MagicMock()
app.storage.archive.get_recent_muc_nicks = MagicMock(
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/37dca1cb6eb5d5dd9f693c7cd93ac3f278d33103
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/37dca1cb6eb5d5dd9f693c7cd93ac3f278d33103
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits