commit | 489c2ec11c6ef54aa084795f21ffc840dfd992f8 | [log] [tgz] |
---|---|---|
author | Marcel Holtmann <marcel@holtmann.org> | Fri Nov 30 10:25:51 2012 +0100 |
committer | Marcel Holtmann <marcel@holtmann.org> | Fri Nov 30 10:25:51 2012 +0100 |
tree | c44899cbbce12843b722bc4f911eeea1890e2684 | |
parent | 78354b00b617c33e0a4bfedf83273bfc938d714e [diff] |
test: Allow phonebook listing to fail
diff --git a/test/pbap-client b/test/pbap-client index 7dd54ef..fbe930c 100755 --- a/test/pbap-client +++ b/test/pbap-client
@@ -135,7 +135,11 @@ print "Size = %d\n" % (ret) print "\n--- List vCard ---\n" - ret = pbap_client.interface().List(dbus.Dictionary()) + try: + ret = pbap_client.interface().List(dbus.Dictionary()) + except: + ret = [] + params = dbus.Dictionary({ "Format" : "vcard30", "Fields" : [ "VERSION", "FN", "TEL"] }) for item in ret: