[Telepathy-commits] [telepathy-gabble/master] rename BytestreamIBB to BytestreamIBBMsg
Guillaume Desmottes
guillaume.desmottes at collabora.co.uk
Mon Mar 9 08:14:11 PDT 2009
---
tests/twisted/bytestream.py | 4 ++--
tests/twisted/tubes/tubetestutil.py | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/twisted/bytestream.py b/tests/twisted/bytestream.py
index fac3da5..536c045 100644
--- a/tests/twisted/bytestream.py
+++ b/tests/twisted/bytestream.py
@@ -353,7 +353,7 @@ def expect_socks5_reply(q):
##### XEP-0047: In-Band Bytestreams (IBB) #####
-class BytestreamIBB(Bytestream):
+class BytestreamIBBMsg(Bytestream):
def __init__(self, stream, q, sid, initiator, target, initiated):
Bytestream.__init__(self, stream, q, sid, initiator, target, initiated)
@@ -435,7 +435,7 @@ class BytestreamSIFallback(Bytestream):
self.socks5 = BytestreamS5B(stream, q, sid, initiator, target,
initiated)
- self.ibb = BytestreamIBB(stream, q, sid, initiator, target,
+ self.ibb = BytestreamIBBMsg(stream, q, sid, initiator, target,
initiated)
self.used = self.ibb
diff --git a/tests/twisted/tubes/tubetestutil.py b/tests/twisted/tubes/tubetestutil.py
index c41509b..4ac075b 100644
--- a/tests/twisted/tubes/tubetestutil.py
+++ b/tests/twisted/tubes/tubetestutil.py
@@ -11,7 +11,7 @@ from dbus import PROPERTIES_IFACE
from servicetest import unwrap
from gabbletest import exec_test
from constants import *
-from bytestream import BytestreamIBB, BytestreamS5B, BytestreamSIFallback
+from bytestream import BytestreamIBBMsg, BytestreamS5B, BytestreamSIFallback
from twisted.internet import reactor
from twisted.internet.protocol import Factory, Protocol
@@ -221,7 +221,7 @@ def set_up_echo(name):
def exec_tube_test(test):
def test_ibb(q, bus, conn, stream):
- test(q, bus, conn, stream, BytestreamIBB)
+ test(q, bus, conn, stream, BytestreamIBBMsg)
def test_socks5(q, bus, conn, stream):
test(q, bus, conn, stream, BytestreamS5B)
--
1.5.6.5
More information about the telepathy-commits
mailing list