diff options
Diffstat (limited to 'moonv4/tests/get_keystone_projects.py')
-rw-r--r-- | moonv4/tests/get_keystone_projects.py | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/moonv4/tests/get_keystone_projects.py b/moonv4/tests/get_keystone_projects.py deleted file mode 100644 index 9b5d87cd..00000000 --- a/moonv4/tests/get_keystone_projects.py +++ /dev/null @@ -1,16 +0,0 @@ -from python_moonclient import parse, models, policies, pdp - - -if __name__ == "__main__": - args = parse.parse() - consul_host = args.consul_host - consul_port = args.consul_port - - models.init(consul_host, consul_port) - policies.init(consul_host, consul_port) - pdp.init(consul_host, consul_port) - - projects = pdp.get_keystone_projects() - - for _project in projects['projects']: - print("{} {}".format(_project['id'], _project['name'])) |