From: Steven Hardy Date: Tue, 7 May 2013 14:43:37 +0000 (+0100) Subject: tests : utils parse stack specify tenant in context X-Git-Tag: 2014.1~631^2 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=aa7fe097f0b1ed78e3025fc7acfd72f0ddb2a71f;p=openstack-build%2Fheat-build.git 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 --- 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':