summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2011-09-27 14:39:20 +0100
committerJonny Lamb <jonny.lamb@collabora.co.uk>2011-09-27 14:39:20 +0100
commit1edf9a4dbc1bbbd24a9141b676eb310d6e4be919 (patch)
tree61ec7067a1307d70ac0d137e9ad4b4fe30ab8e1e
parentc005728f1cab3ae10aeae2cc51c4691f9aa03593 (diff)
dataforms.py: be sure to call UpdateCapabilities with arguments
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
-rw-r--r--tests/twisted/dataforms.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/twisted/dataforms.py b/tests/twisted/dataforms.py
index 04af1ac3..e211bd9c 100644
--- a/tests/twisted/dataforms.py
+++ b/tests/twisted/dataforms.py
@@ -11,9 +11,11 @@ from caps_helper import receive_presence_and_ask_caps
def test(q, bus, conn, stream):
q.expect('stream-presence')
+ # gabble won't try to represent the client if doesn't have any
+ # RCCs or HCTs, so let's add some
conn.ContactCapabilities.UpdateCapabilities(
[
- ('dataformtest', [], [])
+ ('dataformtest', [], ['banan', 'hi'])
])
_, _, forms, _ = receive_presence_and_ask_caps(q, stream)