def test_named(self):
    n = node(identity, ['in'], ['out'], name='name')
    assert (str(n) == 'name: identity([in]) -> [out]')
    assert (n.name == 'name')
    assert (n.short_name == 'name')
def test_named(self):
    n = node(identity, ['in'], ['out'], name='name')
    assert (str(n) == 'name: identity([in]) -> [out]')
    assert (n.name == 'name')
    assert (n.short_name == 'name')