[telepathy-gabble/telepathy-gabble-0.8] muc/subject.py: explain why I use 12 rooms (fd.o#21152 will fix this)

Simon McVittie simon.mcvittie at collabora.co.uk
Thu Nov 12 06:36:46 PST 2009


---
 tests/twisted/muc/subject.py |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/tests/twisted/muc/subject.py b/tests/twisted/muc/subject.py
index 327d739..09b0f15 100644
--- a/tests/twisted/muc/subject.py
+++ b/tests/twisted/muc/subject.py
@@ -39,6 +39,12 @@ counter = 0
 
 def test_subject(q, bus, conn, stream, change_subject, send_first,
         moderator):
+    # FIXME: fd.o#21152: using many different rooms here because the join_muc()
+    # utility function (via request_muc_handle()) only copes with requesting
+    # the handle for the first time, due to having to expect the disco#info
+    # query to the server and reply to it. Fixing fd.o#21152 will remove the
+    # distinction between the first and nth time, at which point we can just
+    # join the same room repeatedly.
     global counter
     room = 'test%d at conf.localhost' % counter
     counter += 1
-- 
1.5.6.5



More information about the telepathy-commits mailing list