def __init__(self, assets_dir=None, requirements_file="requirements.yml"):
        self.assets_dir = assets_dir or Path(".") / "assets"
        self.requirements = GroupedRequirements()
        self.requirements.load(requirements_file)
        self.temp_dir = mkdtemp()
def test_can_encode_relationship_with_alternative_names(self):
        a = Node("Person", nom=u"Aimée")
        b = Node("Person", nom=u"Baptiste")
        ab = KNOWS_FR(a, b)
        encoded = cypher_repr(ab, related_node_template=u"{property.nom}")
        self.assertEqual(u"(Aimée)-[:CONNAÎT {}]->(Baptiste)", encoded)