summaryrefslogtreecommitdiff
path: root/test/list-folders
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2012-12-19 09:42:45 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2012-12-19 09:42:45 +0200
commit50383bf5b3af1652965b7b4652cb3270dad54b44 (patch)
tree650806d8599685954297e8062ab21473ae8945cf /test/list-folders
parent367289f37dba56d0837cff0e006036c9fe026886 (diff)
downloadbluez-50383bf5b3af1652965b7b4652cb3270dad54b44.tar.gz
test: Fix obexd object path in test scripts
Diffstat (limited to 'test/list-folders')
-rwxr-xr-xtest/list-folders5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/list-folders b/test/list-folders
index 2203feb84..7321a1527 100755
--- a/test/list-folders
+++ b/test/list-folders
@@ -6,8 +6,9 @@ import dbus
def list_folder(folder):
bus = dbus.SessionBus()
- client = dbus.Interface(bus.get_object("org.bluez.obex", "/"),
- "org.bluez.obex.Client")
+ client = dbus.Interface(bus.get_object("org.bluez.obex",
+ "/org/bluez/obex"),
+ "org.bluez.obex.Client")
path = client.CreateSession(sys.argv[1], { "Target": "ftp" })