(host, port)
| 22 | q.query) |
| 23 | |
| 24 | def debug(host, port): |
| 25 | global redis_con |
| 26 | global redis_graph |
| 27 | redis_con = redis.Redis(host=host, port=port) |
| 28 | redis_graph = Graph(redis_con, imdb_utils.graph_name) |
| 29 | |
| 30 | print("populate_graph") |
| 31 | imdb_utils.populate_graph(redis_con, redis_graph) |
| 32 | |
| 33 | print("run_queries") |
| 34 | run_queries() |
| 35 | |
| 36 | def main(argv): |
| 37 | global redis_con |
no test coverage detected