diff options
author | rabi <ramishra@redhat.com> | 2016-07-18 18:45:28 +0530 |
---|---|---|
committer | rabi <ramishra@redhat.com> | 2016-08-16 12:38:33 +0530 |
commit | 1f88c675c42727ce4abd12c62df7017194d6c4ac (patch) | |
tree | d9ea2412dcfca7a68034ace49906526523d2ac17 /heat/tests/test_rpc_client.py | |
parent | b412c2793a4890e5c7c6611455e5e6ee9157a4c5 (diff) | |
download | heat-1f88c675c42727ce4abd12c62df7017194d6c4ac.tar.gz |
Remove tenant_safe flag from rpc and db api
We can use admin_context to have access to stacks
and software configs across projects. This removes
the tenant_safe flag from rpc and db api. This is
backward compatible with older rpc clients.
We still support use of global_tenant flag for listing
stacks and software configs. However, by default
an admin(user with admin role in admin_project)
would not need that.
Change-Id: I12303dbf30fb80290f95baba0c67cdf684f5f409
Diffstat (limited to 'heat/tests/test_rpc_client.py')
-rw-r--r-- | heat/tests/test_rpc_client.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/heat/tests/test_rpc_client.py b/heat/tests/test_rpc_client.py index 0a29759f4..2e3c7ad61 100644 --- a/heat/tests/test_rpc_client.py +++ b/heat/tests/test_rpc_client.py @@ -112,7 +112,6 @@ class EngineRpcAPITestCase(common.HeatTestCase): 'marker': mock.ANY, 'sort_dir': mock.ANY, 'filters': mock.ANY, - 'tenant_safe': mock.ANY, 'show_deleted': mock.ANY, 'show_nested': mock.ANY, 'show_hidden': mock.ANY, @@ -126,7 +125,6 @@ class EngineRpcAPITestCase(common.HeatTestCase): def test_count_stacks(self): default_args = { 'filters': mock.ANY, - 'tenant_safe': mock.ANY, 'show_deleted': mock.ANY, 'show_nested': mock.ANY, 'show_hidden': mock.ANY, @@ -306,8 +304,7 @@ class EngineRpcAPITestCase(common.HeatTestCase): def test_list_software_configs(self): self._test_engine_api('list_software_configs', 'call', - limit=mock.ANY, marker=mock.ANY, - tenant_safe=mock.ANY) + limit=mock.ANY, marker=mock.ANY) def test_show_software_config(self): self._test_engine_api('show_software_config', 'call', |