]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Store stacks in the database when running unit tests
authorZane Bitter <zbitter@redhat.com>
Fri, 14 Jun 2013 10:31:23 +0000 (12:31 +0200)
committerZane Bitter <zbitter@redhat.com>
Fri, 14 Jun 2013 10:31:27 +0000 (12:31 +0200)
commit157223c4e9ed12f4137a7e05c1f493e35f6a59fa
tree17bffa61792adb60e34bc2dcdcbf8631caaa4dd5
parent84accc898c4415bec32567c5b72186cf44a0506f
Store stacks in the database when running unit tests

If stacks are not stored in the database before they are create()'d,
anything that refers to a stack (e.g. Resources and Events) cannot be added
to the database either, and we get numerous errors in any output logs.

Change-Id: Icd1012455d413aad617486c138fd4507e391bc7b
heat/tests/test_autoscaling.py
heat/tests/test_nokey.py
heat/tests/utils.py