test: Update list-modems to the new API

This commit is contained in:
Denis Kenzior 2010-05-27 14:59:04 -05:00
parent f2f5810942
commit 6fcb64d422
1 changed files with 5 additions and 1 deletions

View File

@ -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",