deb-heat/heat/tests
Zane Bitter 75b56789e6 Implement diffs of ResourceDefinitions
The last remaining code using the deprecated methods in the
ResourceDefinition class to treat the definition like a CloudFormation
template snippet is the tmpl_diff in the Resource class. Replace the dict
diff with a Diff object that has an API which can be queried instead. For
backward compatibility with existing resource plugins, the current diff
objects are for now able to be treated like dicts. However, this is marked
deprecated and can be removed along with the equivalent support for
ResourceDefinitions in the future.

Change-Id: I9ef50f0d9b142d464a1b02da7a46536c532d2ebd
2016-04-13 19:49:04 -04:00
..
api Set enforce_type=True on config overrides in tests 2016-04-11 10:52:22 +10:00
autoscaling Implement diffs of ResourceDefinitions 2016-04-13 19:49:04 -04:00
aws Set enforce_type=True on config overrides in tests 2016-04-11 10:52:22 +10:00
clients Set enforce_type=True on config overrides in tests 2016-04-11 10:52:22 +10:00
constraints move ceilometer constraints to common constraint 2015-08-03 13:18:31 +08:00
convergence Add function tests for event sinks 2016-02-22 09:41:13 +00:00
db Set enforce_type=True on config overrides in tests 2016-04-11 10:52:22 +10:00
engine Set enforce_type=True on config overrides in tests 2016-04-11 10:52:22 +10:00
openstack Implement diffs of ResourceDefinitions 2016-04-13 19:49:04 -04:00
policy Add resource_type-specific policies 2015-08-25 15:37:26 +03:00
templates Fixes JSON to YAML conversion bug 2015-06-25 07:32:34 -07:00
__init__.py Switch to mox3 2015-10-02 13:05:51 +05:30
common.py Set enforce_type=True on config overrides in tests 2016-04-11 10:52:22 +10:00
fakes.py Make sure create ceilometer alarm successful 2016-03-16 01:46:00 +00:00
generic_resource.py Re-add str_replace parameter validation, and fix test 2016-02-29 18:06:15 +00:00
test_attributes.py Support attributes with dynamic scheme 2015-08-10 12:17:01 +03:00
test_auth_password.py Use user_domain for password auth_plugin 2016-01-05 12:19:59 +05:30
test_auth_url.py Merge "Correctly determine keystone v3 endpoint" 2015-08-13 03:37:24 +00:00
test_common_context.py Set enforce_type=True on config overrides in tests 2016-04-11 10:52:22 +10:00
test_common_exception.py Adds error_code in heat exceptions 2015-11-05 18:10:50 +05:30
test_common_param_utils.py Raise HTTPBadRequest instead of ValueError for API validation 2015-05-27 03:48:44 +00:00
test_common_policy.py Use oslo.config fixture to avoid gate break 2016-02-19 20:03:31 -05:00
test_common_serializers.py py34: heat.tests.test_common_serializers 2015-08-26 13:09:04 +05:30
test_common_service_utils.py datetime.datetime.utcnow() should be replaced 2015-11-10 17:24:51 +00:00
test_constraints.py Remove warnings in heat 2016-01-20 22:00:52 +08:00
test_convg_stack.py Set enforce_type=True on config overrides in tests 2016-04-11 10:52:22 +10:00
test_crypt.py Set enforce_type=True on config overrides in tests 2016-04-11 10:52:22 +10:00
test_dbinstance.py Fix [H405] pep rule in heat/tests 2015-10-12 14:08:16 +03:00
test_empty_stack.py Show deprecated warnings when import parser 2015-04-14 17:49:15 +08:00
test_engine_api_utils.py Merge "RPC API: Define correct constants for resource data" 2016-01-27 18:48:53 +00:00
test_engine_service_stack_watch.py Fix [H405] pep rule in heat/tests 2015-10-12 14:08:16 +03:00
test_engine_service.py Set enforce_type=True on config overrides in tests 2016-04-11 10:52:22 +10:00
test_environment_format.py Event transport 2016-01-05 10:22:57 +01:00
test_environment.py Set enforce_type=True on config overrides in tests 2016-04-11 10:52:22 +10:00
test_event.py Set enforce_type=True on config overrides in tests 2016-04-11 10:52:22 +10:00
test_exception.py Produce more meaningful exception messages in nested stacks 2015-06-24 08:52:08 +10:00
test_fault_middleware.py Set enforce_type=True on config overrides in tests 2016-04-11 10:52:22 +10:00
test_function.py Change assertTrue(isinstance()) by optimal assert 2015-11-02 12:23:22 +01:00
test_grouputils.py Move function for member_definitions to grouputil 2015-11-03 09:04:30 +05:30
test_hacking.py Restrict use of iteritems, iterkeys and itervalues 2016-03-23 10:05:54 +00:00
test_hot.py Support string index for list in get_param 2016-04-06 14:00:44 +08:00
test_identifier.py Use assertIn and assertNotIn 2015-10-26 22:40:14 +01:00
test_lifecycle_plugin_utils.py Rename test classes for consistency 2016-02-25 09:27:12 -06:00
test_loguserdata.py Remove spurious logs from test_loguserdata 2015-10-29 17:12:34 +01:00
test_metadata_refresh.py Resolve name/id using translation rules for Server 2016-03-15 16:12:27 +05:30
test_nested_stack.py Use yaml.safe_load() instead of yaml.load() 2016-02-16 21:37:27 +08:00
test_nokey.py Use custom find functions for image lookup 2016-01-27 09:56:01 +05:30
test_notifications.py Use user id instead of user name in notification body 2015-12-07 08:25:04 -06:00
test_parameters.py Raise StackValidationFailed on parameter validation 2015-10-31 08:01:52 +00:00
test_plugin_loader.py Use HeatTestCase as parent instead of testtools 2015-03-31 15:17:29 +00:00
test_properties.py Don't validate template resource parameter defaults in parent 2016-03-30 16:32:46 -04:00
test_provider_template.py Load template files only from their known source 2016-01-18 19:09:24 -05:00
test_resource.py Set enforce_type=True on config overrides in tests 2016-04-11 10:52:22 +10:00
test_rpc_client.py Replace SD RPC polling by long RPC call 2016-04-05 20:47:25 +02:00
test_rpc_listener_client.py Move listener rpc client to rpc/listener_client.py 2015-06-19 08:24:19 +05:30
test_rpc_worker_client.py Remove return for rpc casts in rpc worker client 2015-03-24 23:17:19 +05:30
test_rsrc_defn.py Implement diffs of ResourceDefinitions 2016-04-13 19:49:04 -04:00
test_server_tags.py Use custom find functions for image lookup 2016-01-27 09:56:01 +05:30
test_short_id.py Port short_id to return unicode 2015-07-09 07:15:49 +00:00
test_signal.py Don't recompute metadata after clearing a user hook 2016-02-05 16:10:45 -05:00
test_stack_collect_attributes.py Add get_attr which returns all attributes 2015-09-01 17:32:17 +03:00
test_stack_delete.py Replace logging lib 2016-01-03 12:36:05 +08:00
test_stack_lock.py Allow StackLock to be used as a context manager 2016-01-25 19:55:04 -05:00
test_stack_resource.py Set enforce_type=True on config overrides in tests 2016-04-11 10:52:22 +10:00
test_stack_update.py Mark resources UPDATE_COMPLETE when they request replacement 2016-03-28 16:26:20 -04:00
test_stack_user.py Move registration of resources to HeatTestCase 2015-06-15 02:43:15 -04:00
test_stack.py Set enforce_type=True on config overrides in tests 2016-04-11 10:52:22 +10:00
test_support.py Replace tag 2015.2 to 5.0.0 2015-08-06 06:29:09 -04:00
test_template_format.py Set enforce_type=True on config overrides in tests 2016-04-11 10:52:22 +10:00
test_template.py Add a new HOT template version for Newton 2016-03-24 09:29:48 +08:00
test_timeutils.py Round the elapsed time to the nearest second 2015-09-09 06:59:56 +00:00
test_translation_rule.py Rename source_path in translation 2016-04-09 02:16:18 +00:00
test_urlfetch.py Set enforce_type=True on config overrides in tests 2016-04-11 10:52:22 +10:00
test_validate.py Adds ignore_errors for template_validate in engine 2016-02-04 17:08:24 +05:30
test_version.py Coverage: Additional test case for better coverage 2015-06-16 13:01:30 +05:30
test_vpc.py Unit tests: compare stack names in PhysName 2016-03-10 13:07:29 -05:00
test_watch.py Fixup ceilometerclient tests 2016-01-13 14:51:53 +01:00
testing-overview.txt Add alternative way to use debugger for unittets 2015-08-20 16:28:51 +00:00
utils.py Unit tests: compare stack names in PhysName 2016-03-10 13:07:29 -05:00