[PATCH] Update test script to newer api.
Andrzej Zaborowski
andrew.zaborowski at intel.com
Mon Nov 9 22:31:20 PST 2009
Also remove an unused "import".
---
test/create-context | 2 +-
test/test-phonebook | 2 --
2 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/test/create-context b/test/create-context
index 138efd1..08f2960 100755
--- a/test/create-context
+++ b/test/create-context
@@ -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]
diff --git a/test/test-phonebook b/test/test-phonebook
index 52004e8..8db25c1 100755
--- a/test/test-phonebook
+++ b/test/test-phonebook
@@ -1,7 +1,5 @@
#!/usr/bin/python
-import gobject
-
import dbus
if __name__ == "__main__":
--
1.6.1
More information about the ofono
mailing list