heat/heat/tests
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
..
policy heat api : Add policy.json authorization to cloudwatch API 2013-02-07 10:22:14 +00:00
templates tests : convert test_template_format to test-local templates 2013-05-08 12:39:47 +01:00
unit Remove the CheckedDict class 2012-11-05 17:56:09 +01:00
v1_1 Add resume support to Instance 2013-07-01 11:35:50 +01:00
__init__.py Enable running tests via testr 2013-04-30 13:51:07 -07:00
common.py Log at DEBUG level in unit tests 2013-05-31 22:18:36 +02:00
fakes.py Fixup assert_has_keys. 2013-06-28 13:56:29 +12:00
generic_resource.py Add initial resume logic to engine 2013-07-01 11:35:49 +01:00
test_api_aws.py tests : fix cut/paste test name shadowing 2013-06-03 23:57:33 +01:00
test_api_cfn_v1.py Merge "Convert Stack to separate action/status" 2013-06-19 23:46:08 +00:00
test_api_cloudwatch.py Merge "Update the oslo code before importing a new module" 2013-05-27 08:51:59 +00:00
test_api_ec2token.py tests : fix cut/paste test name shadowing 2013-06-03 23:57:33 +01:00
test_api_openstack_v1.py api : Add actions resume support 2013-07-01 11:35:50 +01:00
test_attributes.py Add VerifyAll to test methods using mox. 2013-06-20 10:24:59 -05:00
test_auth_password.py Key error when auth in standalone mode 2013-06-11 10:20:53 -05:00
test_autoscaling.py engine : autoscaling pass instance id's not names to loadbalancer 2013-07-03 15:49:01 +01:00
test_cli.py Use print_function compatible syntax 2013-06-24 15:41:51 +02:00
test_clouddatabase.py Rackspace cloud database resource provider 2013-07-02 14:34:15 +00:00
test_common_policy.py Fixup some trivial license header mismatches 2013-06-23 20:57:04 +02:00
test_cw_alarm.py Convert Resource to separate action/status 2013-06-14 13:44:04 +01:00
test_dbinstance.py Convert Resource to separate action/status 2013-06-14 13:44:04 +01:00
test_dependencies.py Expose resource dependency required_by to REST API. 2013-07-01 11:14:45 +12:00
test_eip.py Implement attribute schema for resources 2013-06-19 18:59:54 -05:00
test_engine_api_utils.py Expose resource dependency required_by to REST API. 2013-07-01 11:14:45 +12:00
test_engine_service.py cleanup watchrule delete logic/tests 2013-07-04 16:30:30 +01:00
test_environment.py Initial Environment class and test 2013-06-17 20:23:38 +10:00
test_event.py Convert Events to separate action/status 2013-06-13 11:19:32 +01:00
test_heatclient.py Unrestricted username length causing error. 2013-06-20 13:58:55 -05:00
test_hot.py Changes for HOT hello world template processing 2013-06-25 16:52:32 +02:00
test_identifier.py Migrate test base class to testtools. 2013-05-25 09:43:40 +02:00
test_instance.py Add resume support to Instance 2013-07-01 11:35:50 +01:00
test_instance_group.py Convert Resource to separate action/status 2013-06-14 13:44:04 +01:00
test_instance_network.py Use the Environment from within the engine 2013-06-17 20:25:13 +10:00
test_loadbalancer.py Implement attribute schema for resources 2013-06-19 18:59:54 -05:00
test_loguserdata.py Use Python 3.x compatible octal literals 2013-06-10 09:46:34 +02:00
test_metadata_refresh.py Convert Stack to separate action/status 2013-06-19 16:10:51 +01:00
test_nested_stack.py engine : resume support for nested stacks 2013-07-01 11:35:50 +01:00
test_nokey.py Store stacks in the database when running unit tests 2013-06-14 12:31:27 +02:00
test_parameters.py Allow JSON values for parameters 2013-06-24 12:09:18 -05:00
test_parser.py Merge "implement stack metadata" 2013-07-03 07:51:07 +00:00
test_plugin_loader.py Migrate test base class to testtools. 2013-05-25 09:43:40 +02:00
test_properties.py Add MinLength, MaxLength to properties schema 2013-06-26 21:06:10 +00:00
test_provider_template.py Initial provider templates 2013-06-24 11:18:09 +10:00
test_quantum.py Merge "Ports depend on the subnets in the same network." 2013-07-02 16:19:49 +00:00
test_resource.py Add initial resume logic to engine 2013-07-01 11:35:49 +01:00
test_rpc_client.py Add initial resume logic to engine 2013-07-01 11:35:49 +01:00
test_s3.py Implement attribute schema for resources 2013-06-19 18:59:54 -05:00
test_scheduler.py Use print_function compatible syntax 2013-06-24 15:41:51 +02:00
test_security_group.py Merge "Fixup some trivial license header mismatches" 2013-06-24 10:44:06 +00:00
test_short_id.py Migrate test base class to testtools. 2013-05-25 09:43:40 +02:00
test_stack_resource.py implement stack metadata 2013-07-02 16:03:22 +08:00
test_swift.py Merge "Convert Resource to separate action/status" 2013-06-18 01:05:09 +00:00
test_template_format.py Make template_format.parse usable by environments 2013-06-17 20:26:23 +10:00
test_urlfetch.py Remove use of nose attrib plugin and most unittest 2013-04-30 13:51:31 -07:00
test_user.py Convert Resource to separate action/status 2013-06-14 13:44:04 +01:00
test_validate.py Raise suitable exception when stack validation fails 2013-06-26 13:41:24 +08:00
test_volume.py Fixup handle_create backup restore. 2013-06-28 11:24:07 -05:00
test_vpc.py Rework associations from vpc to quantum resources. 2013-07-02 15:36:26 +12:00
test_waitcondition.py Merge "Use the Environment from within the engine" 2013-06-18 23:05:10 +00:00
test_watch.py cleanup watchrule delete logic/tests 2013-07-04 16:30:30 +01:00
test_wsgi.py check content type in JSONRequestDeserializer 2013-06-25 13:27:00 +08:00
testing-overview.txt Remove examples and update testing-overview.txt 2013-04-30 13:51:31 -07:00
utils.py cleanup watchrule delete logic/tests 2013-07-04 16:30:30 +01:00