Add test script for new supplicant interface
authorMarcel Holtmann <marcel@holtmann.org>
Sat, 19 Dec 2009 04:54:01 +0000 (20:54 -0800)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 19 Dec 2009 04:54:01 +0000 (20:54 -0800)
test/test-new-supplicant [new file with mode: 0755]

diff --git a/test/test-new-supplicant b/test/test-new-supplicant
new file mode 100755 (executable)
index 0000000..be230dc
--- /dev/null
@@ -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()