def METHOD_NAME(self, localtime):
    path = ("service/[@name='system/timezone']/instance/[@name='default']"
            "/property_group/[@name='timezone']/propval/[@name='localtime']")
    self.root.find(path).set('value', localtime)