diff options
author | Thomas Duval <thomas.duval@orange.com> | 2020-06-03 10:06:52 +0200 |
---|---|---|
committer | Thomas Duval <thomas.duval@orange.com> | 2020-06-03 10:06:52 +0200 |
commit | 7bb53c64da2dcf88894bfd31503accdd81498f3d (patch) | |
tree | 4310e12366818af27947b5e2c80cb162da93a4b5 /python_moonclient/tests/unit_python/conf/conf_projects.py | |
parent | cbea4e360e9bfaa9698cf7c61c83c96a1ba89b8c (diff) |
Update to new version 5.4HEADstable/jermamaster
Signed-off-by: Thomas Duval <thomas.duval@orange.com>
Change-Id: Idcd868133d75928a1ffd74d749ce98503e0555ea
Diffstat (limited to 'python_moonclient/tests/unit_python/conf/conf_projects.py')
-rw-r--r-- | python_moonclient/tests/unit_python/conf/conf_projects.py | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/python_moonclient/tests/unit_python/conf/conf_projects.py b/python_moonclient/tests/unit_python/conf/conf_projects.py deleted file mode 100644 index 63be05e0..00000000 --- a/python_moonclient/tests/unit_python/conf/conf_projects.py +++ /dev/null @@ -1,44 +0,0 @@ - - -PROJECTS = { - "projects": [ - { - "is_domain": False, - "description": None, - "domain_id": "admin", - "enabled": True, - "id": "0c4e939acacf4376bdcd1129f1a054ad", - "links": { - "self": "http://example.com/identity/v3/projects/0c4e939acacf4376bdcd1129f1a054ad" - }, - "name": "admin", - "parent_id": None, - "tags": [] - }, - { - "is_domain": False, - "description": None, - "domain_id": "default", - "enabled": True, - "id": "0cbd49cbf76d405d9c86562e1d579bd3", - "links": { - "self": "http://example.com/identity/v3/projects/0cbd49cbf76d405d9c86562e1d579bd3" - }, - "name": "demo", - "parent_id": None, - "tags": [] - } - ] -} - - -def conf_projects(m): - m.register_uri( - 'GET', 'http://keystone:5000/v3/projects', - headers={'X-Subject-Token': "111111111"}, - json=PROJECTS - ) - m.register_uri( - 'POST', 'http://keystone:5000/v3/auth/tokens', - headers={'X-Subject-Token': "111111111"} - ) |