diff options
author | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2011-09-27 14:39:20 +0100 |
---|---|---|
committer | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2011-09-27 14:39:20 +0100 |
commit | 1edf9a4dbc1bbbd24a9141b676eb310d6e4be919 (patch) | |
tree | 61ec7067a1307d70ac0d137e9ad4b4fe30ab8e1e | |
parent | c005728f1cab3ae10aeae2cc51c4691f9aa03593 (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.py | 4 |
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) |