heat/heat/tests
Zane Bitter 5b4a403f51 Make Stacks the owners of their own DB representation
Change the way that Stack objects are initialised, so that they know how to
load and store themselves in the database (they were already updating their
own data, but the actual creation was being done externally). This
consolidates a lot of existing Stack database creation code (in the
manager, nested stacks and unit tests) into one place.

Also, split the template and parameter handling out into separate classes,
and pass these through the constructor for easier testing.

Change-Id: I65bec175191713d0a4a6aa1d3d5442a1b64042f8
Signed-off-by: Zane Bitter <zbitter@redhat.com>
2012-07-04 17:20:39 +02:00
..
examples Adding resource initialization test 2012-04-23 08:17:10 -04:00
functional Make Stacks the owners of their own DB representation 2012-07-04 17:20:39 +02:00
unit Teach CheckedSchema to do nested schemas 2012-07-03 10:03:09 +10:00
v1_1 Allowed the database call to return no parsed template. 2012-05-10 15:31:31 -04:00
__init__.py Allowed the database call to return no parsed template. 2012-05-10 15:31:31 -04:00
fakes.py Copied the python-novaclient test code to avoid importing via python path 2012-04-30 10:39:51 -04:00
test_cfn.py Fix new pep8 warnings. 2012-06-01 11:50:36 -07:00
test_dependencies.py Do proper dependency calculations 2012-06-15 11:29:08 +02:00
test_manager.py Add unit tests for timeout extraction 2012-06-29 13:05:04 +02:00
test_parser.py Make Stacks the owners of their own DB representation 2012-07-04 17:20:39 +02:00
test_resources.py Make Stacks the owners of their own DB representation 2012-07-04 17:20:39 +02:00
test_stacks.py Make Stacks the owners of their own DB representation 2012-07-04 17:20:39 +02:00
test_validate.py Make Stacks the owners of their own DB representation 2012-07-04 17:20:39 +02:00
test_waitcondition.py Make Stacks the owners of their own DB representation 2012-07-04 17:20:39 +02:00
test_watch.py Use unittest assert*() methods instead of assert keyword 2012-07-04 17:20:39 +02:00
testing-overview.txt Update virtual-env requires and documentation 2012-04-24 14:17:40 -04:00
utils.py Copied the python-novaclient test code to avoid importing via python path 2012-04-30 10:39:51 -04:00