Update test script for service connections
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 16 Jul 2009 03:03:15 +0000 (05:03 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 16 Jul 2009 03:03:15 +0000 (05:03 +0200)
test/connect-service

index 8071505..8dabdba 100755 (executable)
@@ -24,8 +24,8 @@ else:
        security = "none"
        passphrase = ""
 
-path = manager.ConnectService(({ "WiFi.Mode": "managed",
-                                       "WiFi.SSID": sys.argv[1],
-                                       "WiFi.Security": security,
-                                       "WiFi.Passphrase": passphrase }));
+path = manager.ConnectService(({ "Type": "wifi", "Mode": "managed",
+                                       "SSID": sys.argv[1],
+                                       "Security": security,
+                                       "Passphrase": passphrase }));
 print "Service path is %s" %(path)