

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

dataset/ETHPy150Open core-api/python-client/tests/test_transitions.py test_post/VarMisuse@38/46 `new`->`doc`