From 9a149834e055f59911c5e7c69a5b9316070371c5 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Thu, 25 Mar 2010 10:58:16 -0500 Subject: [PATCH] Update tests to new netreg API --- test/test-network-registration | 6 +++--- 1 file 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'" %\