diff options
Diffstat (limited to 'protocols/skype/test.py')
| -rwxr-xr-x | protocols/skype/test.py | 23 | 
1 files changed, 22 insertions, 1 deletions
| diff --git a/protocols/skype/test.py b/protocols/skype/test.py index 99883747..3c35a5c0 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() @@ -74,6 +74,27 @@ class Test(unittest.TestCase):  	def testCall(self):  		self.mock("call") +	 +	def testCallFailed(self): +		self.mock("call-failed") +	 +	def testAddYes(self): +		self.mock("add-yes") + +	def testAddNo(self): +		self.mock("add-no") + +	def testGroupchatInvited(self): +		self.mock("groupchat-invited") + +	def testGroupchatInvite(self): +		self.mock("groupchat-invite") +	 +	def testCalledYes(self): +		self.mock("called-yes") + +	def testCalledNo(self): +		self.mock("called-no")  if __name__ == '__main__':  	unittest.main() | 
