def METHOD_NAME(self):
    graph2 = Graph(redis_con, "H")
    query = """CREATE (a)-[:e]->(), (a)-[:e]->()"""
    result = graph2.query(query)
    self.env.assertEquals(result.nodes_created, 3)
    self.env.assertEquals(result.relationships_created, 2)
    query = """MATCH (a)-[]->() RETURN a"""
    non_distinct = graph2.query(query)
    query = """MATCH (a)-[]->() RETURN DISTINCT a"""
    distinct = graph2.query(query)
    self.env.assertEquals(len(non_distinct.result_set), 2)
    self.env.assertEquals(len(distinct.result_set), 1)