def __repr__(self):
        return "<Requirement(package={package}, version='{version}')>".format(
            package=self.package, version=self.version)
def test_should_encode_node_with_property(self):
        a = Node(name="Alice")
        encoded = cypher_repr(a, node_template="{labels} {properties}")
        assert encoded == u"({name: 'Alice'})"