aboutsummaryrefslogtreecommitdiffstats
path: root/python_moondb/tests/unit_python/mock_keystone.py
diff options
context:
space:
mode:
Diffstat (limited to 'python_moondb/tests/unit_python/mock_keystone.py')
-rw-r--r--python_moondb/tests/unit_python/mock_keystone.py12
1 files changed, 11 insertions, 1 deletions
diff --git a/python_moondb/tests/unit_python/mock_keystone.py b/python_moondb/tests/unit_python/mock_keystone.py
index c0b26b88..3f262538 100644
--- a/python_moondb/tests/unit_python/mock_keystone.py
+++ b/python_moondb/tests/unit_python/mock_keystone.py
@@ -20,4 +20,14 @@ def register_keystone(m):
json={"users": [{
"id": "1111111111111"
}]}
- ) \ No newline at end of file
+ )
+ m.register_uri(
+ 'POST', 'http://keystone:5000/v3/projects/',
+ json={
+ "description": "test_project",
+ "domain_id": ['domain_id_1'],
+ "enabled": True,
+ "is_domain": False,
+ "name": 'project_1'
+ }
+ )