

def test_override_transform(doc):
    new = client.action(doc, ['nested', 'update'], params={
        'foo': 456,
    }, transform='new')
    assert (new == {
        'new': 123,
        'foo': 456,
    })
    assert (doc.title == 'new')

dataset/ETHPy150Open core-api/python-client/tests/test_transitions.py test_override_transform/VarMisuse@61/76 `new`->`doc`