All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Update test script to newer api.
@ 2009-11-10  6:31 Andrzej Zaborowski
  2009-11-10 18:49 ` Denis Kenzior
  0 siblings, 1 reply; 2+ messages in thread
From: Andrzej Zaborowski @ 2009-11-10  6:31 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 845 bytes --]

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Update test script to newer api.
  2009-11-10  6:31 [PATCH] Update test script to newer api Andrzej Zaborowski
@ 2009-11-10 18:49 ` Denis Kenzior
  0 siblings, 0 replies; 2+ messages in thread
From: Denis Kenzior @ 2009-11-10 18:49 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 68 bytes --]

Hi Andrew,

Patch has been applied.  Thanks.

Regards,
-Denis

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-11-10 18:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-10  6:31 [PATCH] Update test script to newer api Andrzej Zaborowski
2009-11-10 18:49 ` Denis Kenzior

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.