From 489c2ec11c6ef54aa084795f21ffc840dfd992f8 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Fri, 30 Nov 2012 10:25:51 +0100 Subject: test: Allow phonebook listing to fail --- test/pbap-client | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 @@ if __name__ == '__main__': 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: -- cgit v1.2.1