def test_post(doc):
    new = client.action(doc, ['nested', 'create'], params={'foo': 456})
    assert new == {'new': 123, 'foo': 456}
    assert new.title == 'new'
dataset/ETHPy150Open core-api/python-client/tests/test_transitions.py/test_post/original