heat/heat/tests/db
Steve Baker 483c505d61 Do not raise NotFound for resource_get_all_* queries
A stack with zero resources is not an exception worthy condition (for
example, a stack being deleted, a stack which really does have zero
resources).

Also its unusual that a collection query function would raise a
NotFound when the result count is zero.

This change fixes that for resource_get_all_by_stack and
resource_get_all_active_by_stack

Change-Id: I3420d5099830f5626095b17c01e9d886b477915c
Related-Bug: #1301320
Related-Bug: #1523748
2016-07-15 11:57:39 +12:00
..
__init__.py Add migration test framework 2013-12-20 12:32:58 +11:00
test_migrations.py on-delete cascade rule for resource_data 2016-06-13 08:55:30 +00:00
test_sqlalchemy_api.py Do not raise NotFound for resource_get_all_* queries 2016-07-15 11:57:39 +12:00
test_sqlalchemy_filters.py Re-factor db sqlalchemy tests 2015-03-31 11:41:40 -04:00
test_sqlalchemy_types.py Re-factor db sqlalchemy tests 2015-03-31 11:41:40 -04:00
test_utils.py Fixes migrate_data utils to avoid created_at filed 2015-04-01 15:28:33 +05:30