[Telepathy-commits] [telepathy-gabble/master] fix MUC test to actually finish the function

Robert McQueen robert.mcqueen at collabora.co.uk
Tue Aug 19 10:54:03 PDT 2008


20080727031832-418b8-6b0ecb57ba3699a967ceab350cfa9485bc5faaec.gz
---
 tests/twisted/muc/test-muc.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/tests/twisted/muc/test-muc.py b/tests/twisted/muc/test-muc.py
index 08b4a63..e8a0c90 100644
--- a/tests/twisted/muc/test-muc.py
+++ b/tests/twisted/muc/test-muc.py
@@ -130,7 +130,6 @@ def test(q, bus, conn, stream):
 
     dbus.Interface(text_chan,
             'org.freedesktop.Telepathy.Channel.Type.Text').Send(0, 'goodbye')
-    return True
 
     event = q.expect('stream-message')
     elem = event.stanza
@@ -144,6 +143,8 @@ def test(q, bus, conn, stream):
 
     q.expect('dbus-signal', signal='StatusChanged', args=[2, 1])
 
+    return True
+
 if __name__ == '__main__':
     exec_test(test)
 
-- 
1.5.6.3




More information about the Telepathy-commits mailing list