diff options
author | Miklos Vajna <vmiklos@vmiklos.hu> | 2013-01-16 21:26:58 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@vmiklos.hu> | 2013-01-16 21:26:58 +0100 |
commit | d4b5e5b2d872ff6ce959c7de46ab8cd473129794 (patch) | |
tree | a91683168326c64a0f9984eaa9885e7f4ae4ac25 /protocols/skype/test.py | |
parent | db0d979a326f173e46816dcf2d56fa30c15b2adf (diff) |
skype: new 'groupchat invited' testcase
Diffstat (limited to 'protocols/skype/test.py')
-rwxr-xr-x | protocols/skype/test.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/protocols/skype/test.py b/protocols/skype/test.py index d635bb4f..116798c5 100755 --- a/protocols/skype/test.py +++ b/protocols/skype/test.py @@ -27,7 +27,7 @@ class Test(unittest.TestCase): for i in bitlbee_mock.readlines(): line = i.strip() if line.startswith(">> "): - bitlbee.expect(line[3:], timeout=10) + bitlbee.expect_exact(line[3:], timeout=10) elif line.startswith("<< "): bitlbee.sendline(line[3:]) bitlbee_mock.close() @@ -81,5 +81,8 @@ class Test(unittest.TestCase): def testAddNo(self): self.mock("add-no") + def testGroupchatInvited(self): + self.mock("groupchat-invited") + if __name__ == '__main__': unittest.main() |