telepathy-gabble: jingle/stream-handler: use jingletest2
Will Thompson
wjt at kemper.freedesktop.org
Thu Dec 6 04:46:05 PST 2012
Module: telepathy-gabble
Branch: master
Commit: 4aed845bc67b1d98b6d6f69bc1a5c4dbd2ac4deb
URL: http://cgit.freedesktop.org/telepathy/telepathy-gabble/commit/?id=4aed845bc67b1d98b6d6f69bc1a5c4dbd2ac4deb
Author: Will Thompson <will.thompson at collabora.co.uk>
Date: Mon Nov 26 09:13:54 2012 +0000
jingle/stream-handler: use jingletest2
---
tests/twisted/jingle/stream-handler-error.py | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/tests/twisted/jingle/stream-handler-error.py b/tests/twisted/jingle/stream-handler-error.py
index 8c3943b..5b05f6d 100644
--- a/tests/twisted/jingle/stream-handler-error.py
+++ b/tests/twisted/jingle/stream-handler-error.py
@@ -8,7 +8,7 @@ from functools import partial
from gabbletest import exec_test
from servicetest import make_channel_proxy
-import jingletest
+import jingletest2
import constants as cs
@@ -19,9 +19,11 @@ if not VOIP_ENABLED:
raise SystemExit(77)
def test(q, bus, conn, stream, call_error_on):
- jt = jingletest.JingleTest(stream, 'test at localhost', 'foo at bar.com/Foo')
+ jp = jingletest2.JingleProtocol031()
+ jt = jingletest2.JingleTest2(jp, conn, q, stream, 'test at localhost',
+ 'foo at bar.com/Foo')
- remote_handle = conn.RequestHandles(1, ["foo at bar.com/Foo"])[0]
+ remote_handle = conn.RequestHandles(1, [jt.peer])[0]
# Remote end calls us
jt.incoming_call()
More information about the telepathy-commits
mailing list