From aa7fe097f0b1ed78e3025fc7acfd72f0ddb2a71f Mon Sep 17 00:00:00 2001 From: Steven Hardy Date: Tue, 7 May 2013 15:43:37 +0100 Subject: [PATCH] tests : utils parse stack specify tenant in context Some tests require the tenant name (not just the tenant_id) to be set Change-Id: I381701cc83ba419041df6102fd8b47d88c5b2c3f --- heat/tests/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/heat/tests/utils.py b/heat/tests/utils.py index cb9f646a..90430283 100644 --- a/heat/tests/utils.py +++ b/heat/tests/utils.py @@ -74,6 +74,7 @@ def setup_dummy_db(): def parse_stack(t, params={}, stack_name='test_stack', stack_id=None): ctx = context.RequestContext.from_dict({'tenant_id': 'test_tenant', + 'tenant': 'test_tenant', 'username': 'test_username', 'password': 'password', 'auth_url': -- 2.45.2