diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2009-12-18 20:54:01 -0800 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-12-18 20:54:01 -0800 |
commit | 20890d10e883904bc59320df4fdc1ba2854758db (patch) | |
tree | 1b6aa917ab94b598c0796011f77c3349b009c731 /test/test-new-supplicant | |
parent | cb5a70a4282a53eb65c55001529b3f8767602618 (diff) | |
download | connman-20890d10e883904bc59320df4fdc1ba2854758db.tar.gz connman-20890d10e883904bc59320df4fdc1ba2854758db.tar.bz2 connman-20890d10e883904bc59320df4fdc1ba2854758db.zip |
Add test script for new supplicant interface
Diffstat (limited to 'test/test-new-supplicant')
-rwxr-xr-x | test/test-new-supplicant | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/test-new-supplicant b/test/test-new-supplicant new file mode 100755 index 00000000..be230dc4 --- /dev/null +++ b/test/test-new-supplicant @@ -0,0 +1,14 @@ +#!/usr/bin/python + +import dbus + +WPA_NAME='fi.w1.wpa_supplicant1' +WPA_INTF='fi.w1.wpa_supplicant1' +WPA_PATH='/fi/w1/wpa_supplicant1' + +bus = dbus.SystemBus() + +dummy = dbus.Interface(bus.get_object(WPA_NAME, WPA_PATH), + 'org.freedesktop.DBus.Introspectable') + +print dummy.Introspect() |