summaryrefslogtreecommitdiffstats
path: root/test/test-network-registration
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2010-03-25 10:58:16 -0500
committerDenis Kenzior <denkenz@gmail.com>2010-03-25 10:58:16 -0500
commit9a149834e055f59911c5e7c69a5b9316070371c5 (patch)
tree1d48d7d09703f68ad76c8544da6469907c54562f /test/test-network-registration
parente05318aa5a0a7c912a8197d18eb124b6120d6a98 (diff)
downloadofono-9a149834e055f59911c5e7c69a5b9316070371c5.tar.bz2
Update tests to new netreg API
Diffstat (limited to 'test/test-network-registration')
-rwxr-xr-xtest/test-network-registration6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test-network-registration b/test/test-network-registration
index 9a8f3c91..6db9e031 100755
--- a/test/test-network-registration
+++ b/test/test-network-registration
@@ -13,7 +13,7 @@ def network_property_changed(name, value):
print "Network Registration property '%s' changed to '%s'" %\
(name, value)
- if name == 'Operator' and canexit:
+ if name == 'Name' and canexit:
mainloop.quit()
if __name__ == "__main__":
@@ -44,8 +44,8 @@ if __name__ == "__main__":
props = netreg.GetProperties()
- print "Status is: '%s', Operator is: '%s'" %\
- (props['Status'], props['Operator'])
+ print "Status is: '%s', Operator Name is: '%s'" %\
+ (props['Status'], props['Name'])
if props.has_key('LocationAreaCode') and props.has_key('CellId'):
print "Location: '%d', Cell: '%d'" %\