diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2014-02-06 19:18:35 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2014-02-06 19:18:35 +0000 |
commit | b81df5f0da5a86fe5bef05f3d8d627f6a01cee76 (patch) | |
tree | 540d8894da5b5d4f3a0513b68af1b59ec584f530 /tests/twisted/avahi/ichat-composing.py | |
parent | d8edca5135d6b9fdbec6d25441f61e1f01098f28 (diff) | |
download | telepathy-salut-b81df5f0da5a86fe5bef05f3d8d627f6a01cee76.tar.gz |
Revert to commit 822ddd0
Some commits intended for 'next' appear to have ended up on master.
Diffstat (limited to 'tests/twisted/avahi/ichat-composing.py')
-rw-r--r-- | tests/twisted/avahi/ichat-composing.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/tests/twisted/avahi/ichat-composing.py b/tests/twisted/avahi/ichat-composing.py index c2057fac..ae48d8a8 100644 --- a/tests/twisted/avahi/ichat-composing.py +++ b/tests/twisted/avahi/ichat-composing.py @@ -66,11 +66,9 @@ def test(q, bus, conn): event.addElement('composing') xmpp_connection.send(message) - e = q.expect('dbus-signal', signal='MessageReceived') - assert len(e.args[0]) == 2 - assert e.args[0][0]['message-sender-id'] == contact_name - assert e.args[0][0]['message-sender'] == handle - assert e.args[0][1]['content'] == OUTGOING_MESSAGE + e = q.expect('dbus-signal', signal='Received') + assert e.args[2] == handle + assert e.args[5] == OUTGOING_MESSAGE if __name__ == '__main__': exec_test(test) |