heat/heat
Steven Hardy 52dc303055 cleanup watchrule delete logic/tests
Rework watchrule delete interface so we delete by ID, rather than
by name (where we only delete the first rule in the event of multiple
watcherule rows with the same name, which is allowed although not likely
in normal heat operation - it can cause weird behavior in the tests)

Encapsulating the delete in a WatchRule.destroy() is cleaner and more
consistent with the rest of the codebase, and reworking the tests to
ensure proper cleanup reduces the chances of odd errors and cascading
failures between tests on failure.

fixes bug #1197718

Change-Id: I94e9eb610519bb7321a2be7718312fd50f308a8b
2013-07-04 16:30:30 +01:00
..
api add missing gettextutils imports 2013-07-02 14:22:24 +01:00
cfn_client Fix PEP H101 (Use TODO(NAME)) 2013-05-21 21:15:33 +10:00
cloudinit Use Python 3.x compatible octal literals 2013-06-10 09:46:34 +02:00
cmd Fix command name display issue in heat-manage usage 2013-07-03 23:29:13 +08:00
common add missing gettextutils imports 2013-07-02 14:22:24 +01:00
db cleanup watchrule delete logic/tests 2013-07-04 16:30:30 +01:00
engine cleanup watchrule delete logic/tests 2013-07-04 16:30:30 +01:00
locale Initial support for Transifex translations 2013-01-29 12:27:17 -08:00
openstack Updated common module from oslo 2013-06-19 20:18:39 +08:00
rpc Merge "Expose resource dependency required_by to REST API." 2013-07-02 15:57:23 +00:00
tests cleanup watchrule delete logic/tests 2013-07-04 16:30:30 +01:00
__init__.py Sync cfg from openstack-common 2012-03-16 11:49:46 -04:00
version.py Migrate to pbr. 2013-05-25 08:35:00 +02:00