Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_sessions.py')
-rw-r--r--test/test_sessions.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_sessions.py b/test/test_sessions.py
index 1699feee7..f8018dfe7 100644
--- a/test/test_sessions.py
+++ b/test/test_sessions.py
@@ -151,7 +151,7 @@ class TestChatControlSession(unittest.TestCase):
jid = 'bct@necronomicorp.com/Gajim'
msgtxt = 'testing one two three'
- self.sess.control = MockChatControl()
+ self.sess.control = MockChatControl(jid, account_name)
self.receive_chat_msg(jid, msgtxt)
@@ -175,7 +175,7 @@ class TestChatControlSession(unittest.TestCase):
fjid = jid + '/Gajim'
msgtxt = 'testing one two three'
- ctrl = MockChatControl()
+ ctrl = MockChatControl(jid, account_name)
gajim.interface.msg_win_mgr = Mock({'get_control': ctrl})
gajim.interface.msg_win_mgr.mockSetExpectation('get_control',
expectParams(jid, account_name))