Daniel Brötzmann pushed to branch newcontrol at gajim / gajim
Commits: c4a77304 by wurstsalat at 2022-07-12T18:34:37+02:00 Fix GroupChatNickCompletion test - - - - - 1 changed file: - test/no_gui/test_nick_completion.py Changes: ===================================== test/no_gui/test_nick_completion.py ===================================== @@ -1,4 +1,5 @@ import unittest +from unittest.mock import MagicMock from gajim import gui gui.init('gtk') @@ -10,6 +11,8 @@ class Test(unittest.TestCase): def test_generate_suggestions(self): gen = GroupChatNickCompletion() + contact = MagicMock() + gen.switch_contact(contact) l = ['aaaa', 'fooo', 'xxxxz', 'xaaaz'] for n in l: View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/c4a773049fb7672ab484b956e35ccd2b147db37d -- View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/c4a773049fb7672ab484b956e35ccd2b147db37d You're receiving this email because of your account on dev.gajim.org.
_______________________________________________ Commits mailing list Commits@gajim.org https://lists.gajim.org/cgi-bin/listinfo/commits