diff options
author | Senko Rasic <senko.rasic@collabora.co.uk> | 2010-04-12 16:17:49 +0200 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2010-04-15 19:16:12 +0100 |
commit | 18d7ae454f9ebbea427cbbe6061fa09a4fb76333 (patch) | |
tree | 06db35b0d58754cd90dc81c96f1a91bfc0879df7 | |
parent | 9ba45d39f44460132c1ce0c25dabf32f1c8b6aed (diff) | |
download | telepathy-mission-control-18d7ae454f9ebbea427cbbe6061fa09a4fb76333.tar.gz |
update existing tests with slightly different use cases due to new feature
-rw-r--r-- | test/twisted/capabilities/contact-caps.py | 2 | ||||
-rw-r--r-- | test/twisted/dispatcher/vanishing-client.py | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/test/twisted/capabilities/contact-caps.py b/test/twisted/capabilities/contact-caps.py index 712028c4..f85d8cfb 100644 --- a/test/twisted/capabilities/contact-caps.py +++ b/test/twisted/capabilities/contact-caps.py @@ -74,7 +74,7 @@ def test(q, bus, mc): filters = {} tokens = {} - assert len(structs) == 2 + assert len(structs) == 3 for struct in structs: assert struct[0] not in filters diff --git a/test/twisted/dispatcher/vanishing-client.py b/test/twisted/dispatcher/vanishing-client.py index 78520c5c..92a4079b 100644 --- a/test/twisted/dispatcher/vanishing-client.py +++ b/test/twisted/dispatcher/vanishing-client.py @@ -70,9 +70,9 @@ def test(q, bus, mc): signature='v') # MC investigates further e = q.expect('dbus-method-call', - interface=cs.PROPERTIES_IFACE, method='Get', + interface=cs.PROPERTIES_IFACE, method='GetAll', path=object_path, - args=[cs.OBSERVER, 'ObserverChannelFilter'], + args=[cs.OBSERVER], handled=False) # Simulate another crash del bus_name_ref @@ -95,9 +95,9 @@ def test(q, bus, mc): signature='v') # MC investigates further e = q.expect('dbus-method-call', - interface=cs.PROPERTIES_IFACE, method='Get', + interface=cs.PROPERTIES_IFACE, method='GetAll', path=object_path, - args=[cs.OBSERVER, 'ObserverChannelFilter'], + args=[cs.OBSERVER], handled=False) # Simulate a crash with highly unfortunate timing del bus_name_ref |