From 559a8c8b1359dfdb1cf2af2928c8c8b7e31e220b Mon Sep 17 00:00:00 2001 From: Brendan Taylor Date: Sat, 9 Aug 2008 06:10:04 +0000 Subject: status change tests, hopefully fix some status change issues --- test/test_sessions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/test_sessions.py') 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)) -- cgit v1.2.3