[Telepathy-commits] [telepathy-mission-control/master] test/twisted/test-account.py: verify that ValidAccounts is an 'ao'
Simon McVittie
simon.mcvittie at collabora.co.uk
Wed Dec 10 08:22:39 PST 2008
---
test/twisted/test-account.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/test/twisted/test-account.py b/test/twisted/test-account.py
index e34b628..c9be1f2 100644
--- a/test/twisted/test-account.py
+++ b/test/twisted/test-account.py
@@ -52,6 +52,8 @@ def test(q, bus, mc):
dbus_interface='org.freedesktop.DBus.Properties')
assert properties is not None
assert properties.get('ValidAccounts') == [account_path], properties
+ account_path = properties['ValidAccounts'][0]
+ assert isinstance(account_path, dbus.ObjectPath), repr(account_path)
assert properties.get('InvalidAccounts') == [], properties
# Get the Account interface
--
1.5.6.5
More information about the Telepathy-commits
mailing list