def test_repr(): """Test printing the node.""" u = Node('u') assert u.__repr__() == 'Node u' v = Node() assert v.__repr__().replace('>', '').split(' ')[-1] == v.uid
def test_repr(): """Test printing the node.""" u = Node('u') assert u.__repr__() == 'Node u'