[Telepathy-commits] [telepathy-mission-control/master] Twisted tests: test signal AccountPropertyChanged on the Account object

Alban Crequy alban.crequy at collabora.co.uk
Thu Nov 20 07:43:11 PST 2008


---
 test/twisted/test-connect.py |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/test/twisted/test-connect.py b/test/twisted/test-connect.py
index 979d38e..d099479 100644
--- a/test/twisted/test-connect.py
+++ b/test/twisted/test-connect.py
@@ -48,6 +48,11 @@ def test(q, bus, mc):
     account.Set('org.freedesktop.Telepathy.Account',
             'Enabled', True,
             dbus_interface='org.freedesktop.DBus.Properties')
+    q.expect('dbus-signal',
+            path=account_path,
+            signal='AccountPropertyChanged',
+            interface='org.freedesktop.Telepathy.Account',
+            args=[dbus.Dictionary({"Enabled": True}, signature='sv')])
 
     # Which value should I use?
     # MC_PRESENCE_AVAILABLE == 2
-- 
1.5.6.5




More information about the Telepathy-commits mailing list