[telepathy-gabble/master] Test Hangup
Sjoerd Simons
sjoerd.simons at collabora.co.uk
Tue Dec 29 05:35:17 PST 2009
---
tests/twisted/jingle/call-basics.py | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/tests/twisted/jingle/call-basics.py b/tests/twisted/jingle/call-basics.py
index ae32de2..1d387ca 100644
--- a/tests/twisted/jingle/call-basics.py
+++ b/tests/twisted/jingle/call-basics.py
@@ -239,7 +239,11 @@ def run_test(jp, q, bus, conn, stream, incoming):
check_state (q, chan, cs.CALL_STATE_ACCEPTED)
- jt2.terminate()
+ if incoming:
+ jt2.terminate()
+ else:
+ chan.Hangup (0, "", "",
+ dbus_interface=cs.CHANNEL_TYPE_CALL)
check_state (q, chan, cs.CALL_STATE_ENDED, wait = True)
--
1.5.6.5
More information about the telepathy-commits
mailing list