diff options
author | Brendan Taylor <bct@diffeq.com> | 2008-08-09 10:10:04 +0400 |
---|---|---|
committer | Brendan Taylor <bct@diffeq.com> | 2008-08-09 10:10:04 +0400 |
commit | 559a8c8b1359dfdb1cf2af2928c8c8b7e31e220b (patch) | |
tree | 8883b8b8b7b10db365372b4a4eebae73a0c93cf8 /test/test_sessions.py | |
parent | 198a0ca738d18980901b674fd89849fa5eba79f6 (diff) |
status change tests, hopefully fix some status change issues
Diffstat (limited to 'test/test_sessions.py')
-rw-r--r-- | test/test_sessions.py | 4 |
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)) |