[Telepathy-commits] [telepathy-gabble/master] Remove .DRAFT from Message iface in tests

Will Thompson will.thompson at collabora.co.uk
Tue Feb 3 06:34:52 PST 2009


---
 tests/twisted/muc/send-error.py |    2 +-
 tests/twisted/muc/test-muc.py   |    4 ++--
 tests/twisted/text/test-text.py |    4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/tests/twisted/muc/send-error.py b/tests/twisted/muc/send-error.py
index 62d9c89..f978033 100644
--- a/tests/twisted/muc/send-error.py
+++ b/tests/twisted/muc/send-error.py
@@ -53,7 +53,7 @@ def test(q, bus, conn, stream):
     ]
 
     dbus.Interface(text_chan,
-        u'org.freedesktop.Telepathy.Channel.Interface.Messages.DRAFT'
+        u'org.freedesktop.Telepathy.Channel.Interface.Messages'
         ).SendMessage(greeting, dbus.UInt32(0))
 
     stream_message, _, _ = q.expect_many(
diff --git a/tests/twisted/muc/test-muc.py b/tests/twisted/muc/test-muc.py
index 93a2c4d..64f01a0 100644
--- a/tests/twisted/muc/test-muc.py
+++ b/tests/twisted/muc/test-muc.py
@@ -64,7 +64,7 @@ def test(q, bus, conn, stream):
     assert 'org.freedesktop.Telepathy.Channel.Interface.ChatState' in \
             channel_props.get('Interfaces', ()), \
             channel_props.get('Interfaces')
-    assert 'org.freedesktop.Telepathy.Channel.Interface.Messages.DRAFT' in \
+    assert 'org.freedesktop.Telepathy.Channel.Interface.Messages' in \
             channel_props.get('Interfaces', ()), \
             channel_props.get('Interfaces')
     assert channel_props['TargetID'] == 'chat at conf.localhost', channel_props
@@ -147,7 +147,7 @@ def test(q, bus, conn, stream):
     ]
 
     dbus.Interface(text_chan,
-        u'org.freedesktop.Telepathy.Channel.Interface.Messages.DRAFT'
+        u'org.freedesktop.Telepathy.Channel.Interface.Messages'
         ).SendMessage(greeting, dbus.UInt32(0))
 
     stream_message, sent, message_sent = q.expect_many(
diff --git a/tests/twisted/text/test-text.py b/tests/twisted/text/test-text.py
index 985a7d4..c54ae0b 100644
--- a/tests/twisted/text/test-text.py
+++ b/tests/twisted/text/test-text.py
@@ -45,7 +45,7 @@ def test(q, bus, conn, stream):
     assert 'org.freedesktop.Telepathy.Channel.Interface.ChatState' in \
             channel_props.get('Interfaces', ()), \
             channel_props.get('Interfaces')
-    assert 'org.freedesktop.Telepathy.Channel.Interface.Messages.DRAFT' in \
+    assert 'org.freedesktop.Telepathy.Channel.Interface.Messages' in \
             channel_props.get('Interfaces', ()), \
             channel_props.get('Interfaces')
     assert channel_props['TargetID'] == jid,\
@@ -109,7 +109,7 @@ def test(q, bus, conn, stream):
     ]
 
     dbus.Interface(text_chan,
-        u'org.freedesktop.Telepathy.Channel.Interface.Messages.DRAFT'
+        u'org.freedesktop.Telepathy.Channel.Interface.Messages'
         ).SendMessage(greeting, dbus.UInt32(0))
 
     stream_message, sent, message_sent = q.expect_many(
-- 
1.5.6.5




More information about the telepathy-commits mailing list