[tuxdroid-svn] r5931 - software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/execut
Status: Beta
Brought to you by:
ks156
From: jerome <c2m...@c2...> - 2009-12-04 10:03:18
|
Author: jerome Date: 2009-12-04 11:03:01 +0100 (Fri, 04 Dec 2009) New Revision: 5931 Modified: software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/executables/tests/AsyncTests.py Log: * Added contacts status changes to the test. Modified: software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/executables/tests/AsyncTests.py =================================================================== --- software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/executables/tests/AsyncTests.py 2009-12-03 13:51:26 UTC (rev 5930) +++ software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/executables/tests/AsyncTests.py 2009-12-04 10:03:01 UTC (rev 5931) @@ -97,6 +97,11 @@ ''' print 'Your outgoing call with %s has just finished' % contactHandle + +def onContactChanged(User, Status): + ''' + ''' + print '%s has gone %s' % (User, Status) def start(): ''' @@ -118,6 +123,8 @@ asynchronious.OnOutgoingCall = onOutgoingCall asynchronious.OnOutgoingFinished = onOutgoingFinished + asynchronious.OnlineContactStatusChanged = onContactChanged + synchronious = SynchroniousCommands(SkypeConnection) |