Skip to contentSkip to conversation

Update test script to newer api.

PATCH In review Andrzej Zaborowski 2 participants 2 messages Nov 10, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Update test script to newer api.

Also remove an unused "import".

---
 test/create-context |    2 +-
 test/test-phonebook |    2 --
 2 files changed, 1 insertions(+), 3 deletions(-)
test/create-context +1 -1
index 138efd1..08f2960 100755
@@ -25,7 +25,7 @@ for path in properties["Modems"]:
 	properties = connmgr.GetProperties()
 
 	if (properties["PrimaryContexts"] == []):
-		path = connmgr.CreateContext()
+		path = connmgr.CreateContext("Example", "internet")
 	else:
 		path = properties["PrimaryContexts"][0]
 
test/test-phonebook +0 -2
index 52004e8..8db25c1 100755
@@ -1,7 +1,5 @@
 #!/usr/bin/python
 
-import gobject
-
 import dbus
 
 if __name__ == "__main__":
Signature · 1 line
1.6.1