def main(ctx):
    which = "where" if sys.platform == "win32" else "which"
    if envoy.run(which + " git").status_code != 0:
        click.secho("fatal: git not found in PATH", fg="red")
        sys.exit(1)
    ctx.obj = Hydrogen()
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)