Fix env passed to test_replace

We don't seem to be passing the right env to test_replace,
when we want to test with both update and replace restricted.

Change-Id: I895389c1727321f328e6b7bd7c712796257993f1
This commit is contained in:
rabi 2016-06-13 12:04:10 +05:30
parent cf33c4537e
commit 406dd7faa2

View File

@ -95,7 +95,7 @@ class UpdateRestrictedStackTest(functional_base.FunctionalTestsBase):
# check replace fails - with 'both' restricted
self.update_stack(stack_identifier, update_template,
env_replace_restrict,
env_both_restrict,
expected_status='UPDATE_FAILED')
self.assertTrue(self.verify_resource_status(stack_identifier, 'bar',