

@mock.patch.object(shade.OperatorCloud, 'ironic_client')
def test_set_node_instance_info(self, mock_client):
    uuid = 'aaa'
    patch = [{
        'op': 'add',
        'foo': 'bar',
    }]
    self.cloud.set_node_instance_info(patch, patch)
    mock_client.node.update.assert_called_with(node_id=uuid, patch=patch)

dataset/ETHPy150Open openstack-infra/shade/shade/tests/unit/test_shade_operator.py TestShadeOperator.test_set_node_instance_info/VarMisuse@54/82 `uuid`->`patch`