summaryrefslogtreecommitdiffstats
path: root/test/list-modems
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2010-05-27 14:59:04 -0500
committerDenis Kenzior <denkenz@gmail.com>2010-05-27 14:59:04 -0500
commit6fcb64d4225f75635f3cdbe037f13a8f681e154e (patch)
tree0ed48c6fe36d4144849e1a7c917851648da0ceb5 /test/list-modems
parentf2f5810942791135d0597a71356466315d45e35c (diff)
downloadofono-6fcb64d4225f75635f3cdbe037f13a8f681e154e.tar.bz2
test: Update list-modems to the new API
Diffstat (limited to 'test/list-modems')
-rwxr-xr-xtest/list-modems6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/list-modems b/test/list-modems
index 7425c8d9..154b93e3 100755
--- a/test/list-modems
+++ b/test/list-modems
@@ -42,13 +42,17 @@ for path in properties["Modems"]:
"MultipartyCalls",
"EmergencyNumbers",
"SubscriberNumbers",
- "ServiceDiallingNumbers",
"PreferredLanguages",
"PrimaryContexts",
"LockedPins"]:
val = ""
for i in properties[key]:
val += i + " "
+ elif key in ["ServiceNumbers"]:
+ val = ""
+ for i in properties[key]:
+ val += "[" + i + "] = '"
+ val += properties[key][i] + "' "
elif key in ["MobileNetworkCodeLength",
"VoicemailMessageCount",
"MicrophoneVolume",