'Server.handle_update supports changing the admin password.'

def test_server_update_server_admin_password(self):

    return_server = self.fc.servers.list()[1]
    return_server.id = '5678'
    server = self._create_test_server(return_server, 'change_password')
    new_password = 'new_password'
    update_props = self.server_props.copy()
    update_props['admin_pass'] = new_password
    update_template = server.t.freeze(properties=update_props)
    self.patchobject(self.fc.servers, 'get', return_value=return_server)
    self.patchobject(return_server, 'change_password')
    scheduler.TaskRunner(server.update, update_template)()
    self.assertEqual((server.UPDATE, server.COMPLETE), server.state)
    return_server.change_password.assert_called_once_with(new_password)
    self.assertEqual(1, return_server.change_password.call_count)
