

def test_override_action(doc):
    new = client.action(doc, ['nested', 'follow'], action='put')
    assert (doc == {
        'nested': {
            'new': 123,
            'foo': None,
        },
    })
    assert (new.title == 'original')

dataset/ETHPy150Open core-api/python-client/tests/test_transitions.py test_override_action/VarMisuse@31/40 `new`->`doc`