[Telepathy-commits] [telepathy-gabble/master] Add a comment to ./tests/twisted/roster/groups.py explaining how fragile it is
Simon McVittie
simon.mcvittie at collabora.co.uk
Tue Aug 19 10:51:50 PDT 2008
20080423131941-53eee-b0143cd6c0badec6334b54c460a87dc9aa2bf128.gz
---
tests/twisted/roster/groups.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/tests/twisted/roster/groups.py b/tests/twisted/roster/groups.py
index 10d9c14..2e07ee5 100644
--- a/tests/twisted/roster/groups.py
+++ b/tests/twisted/roster/groups.py
@@ -58,6 +58,9 @@ def test(q, bus, conn, stream):
stream.send(event.stanza)
+ # FIXME: this is somewhat fragile - it's asserting the exact order that
+ # things currently happen in roster.c. In reality the order is not
+ # significant
_expect_contact_list_channel(q, bus, conn, 'publish',
['amy at foo.com', 'bob at foo.com'])
_expect_contact_list_channel(q, bus, conn, 'subscribe',
--
1.5.6.3
More information about the Telepathy-commits
mailing list