def __repr__(self):
        return "<Requirement(package={package}, version='{version}')>".format(
            package=self.package, version=self.version)
def test_should_encode_empty_list(self):
        encoded = cypher_repr([])
        assert encoded == u"[]"