Add functional test coverage for PATCH updates
Adds coverage for patch updates which didn't land previously with the
code.
Change-Id: I66b721d1af787e9d64b8b942818a6c8b4412fa7b
Related-Bug: #1224828
diff --git a/common/test.py b/common/test.py
index 46911f0..21c5ba1 100644
--- a/common/test.py
+++ b/common/test.py
@@ -329,10 +329,11 @@
stack_identifier, 'DELETE_COMPLETE',
success_on_not_found=True)
- def update_stack(self, stack_identifier, template, environment=None,
+ def update_stack(self, stack_identifier, template=None, environment=None,
files=None, parameters=None, tags=None,
expected_status='UPDATE_COMPLETE',
- disable_rollback=True):
+ disable_rollback=True,
+ existing=False):
env = environment or {}
env_files = files or {}
parameters = parameters or {}
@@ -354,7 +355,8 @@
disable_rollback=disable_rollback,
parameters=parameters,
environment=env,
- tags=tags
+ tags=tags,
+ existing=existing
)
except heat_exceptions.HTTPConflict as ex:
# FIXME(sirushtim): Wait a little for the stack lock to be