heat/heat/tests
Sergey Kraynev 440a306216 Add one general testing of resource_mapping
Each resource in Heat has resource_mapping fucntion for loading his type
in environment for futher using.
This method should be callable and should return dictionary, where
key is resource type and value is corresponding resource class.
More over resource_type should have format:
"Platform Type"/"Service type"/.../"Resource Name"

This patch adds common test for this method and check all modules in
heat.engine.resources sub-directories.
Duplicate useless tests were removed.

Change-Id: I8148811418c21277a4b732de98a53c5291f57f1f
2016-02-25 02:52:34 -05:00
..
api Use oslo.config fixture to avoid gate break 2016-02-19 20:03:31 -05:00
autoscaling Change namespace for Nova resources and tests 2015-11-18 08:42:29 +08:00
aws Add post hooks 2016-02-10 09:13:32 +01:00
clients Merge "Cleanup neutron finder functions" 2016-02-22 08:18:27 +00: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 Merge "Stop using first_address Hidden attribute in tests" 2016-02-24 12:55:48 +00:00
engine Merge "Immutable parameters" 2016-02-24 16:35:59 +00:00
openstack Add one general testing of resource_mapping 2016-02-25 02:52:34 -05: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 Merge "Add OS::Barbican::*Container" 2016-02-11 13:25:58 +00:00
fakes.py Populate context roles when using stored context 2016-01-07 11:59:13 +08:00
generic_resource.py Convergence: Fix FnGetAtt to fetch value from cache_data 2016-01-20 09:27:14 +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 Use oslo.config fixture to avoid gate break 2016-02-19 20:03:31 -05: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 Convergence: Consider resources from old template 2016-02-09 17:49:50 +05:30
test_crypt.py Add a new crypt method using cryptography 2015-07-07 10:06:47 +02: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.py Hook into environment merging on server 2016-02-12 10:48:54 -05:00
test_engine_service_stack_watch.py Fix [H405] pep rule in heat/tests 2015-10-12 14:08:16 +03:00
test_environment.py Merge "Add post hooks" 2016-02-22 03:49:44 +00:00
test_environment_format.py Event transport 2016-01-05 10:22:57 +01:00
test_event.py Event transport 2016-01-05 10:22:57 +01:00
test_exception.py Produce more meaningful exception messages in nested stacks 2015-06-24 08:52:08 +10:00
test_fault_middleware.py Use EntityNotFound instead of StackNotFound. 2015-11-19 14:51:22 +08: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_hot.py Allow str_replace to reference parameters/attributes 2016-02-03 12:22:45 +00:00
test_identifier.py Use assertIn and assertNotIn 2015-10-26 22:40:14 +01:00
test_lifecycle_plugin_utils.py Fix [H405] pep rule in heat/tests 2015-10-12 14:08:16 +03:00
test_loguserdata.py Remove spurious logs from test_loguserdata 2015-10-29 17:12:34 +01:00
test_metadata_refresh.py Stop using first_address Hidden attribute in tests 2016-02-24 07:13:54 +00:00
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 Refactor property translation rule(2/2) 2016-02-09 10:30:13 +05:30
test_provider_template.py Load template files only from their known source 2016-01-18 19:09:24 -05:00
test_resource.py Add one general testing of resource_mapping 2016-02-25 02:52:34 -05:00
test_rpc_client.py Stack resource search 2016-02-16 17:52:24 +05:30
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 Remove warnings in heat 2016-01-20 22:00:52 +08: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.py Merge "Stack resource search" 2016-02-17 15:40:09 +00: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 Refactor StackResource create/update stack args 2016-02-04 13:32:12 +13:00
test_stack_update.py Add post hooks 2016-02-10 09:13:32 +01:00
test_stack_user.py Move registration of resources to HeatTestCase 2015-06-15 02:43:15 -04:00
test_support.py Replace tag 2015.2 to 5.0.0 2015-08-06 06:29:09 -04:00
test_template.py remove the mutable default arguments "[]" or "{}" 2015-12-16 16:48:51 +08:00
test_template_format.py JSON size violation gives a bad error with nested templates 2016-01-19 11:30:28 +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 Add new translation rule to resolve with client 2016-02-09 10:30:13 +05:30
test_urlfetch.py py34: Fix integration tests 2015-09-26 20:27:54 +05:30
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 Show deprecated warnings when import parser 2015-04-14 17:49:15 +08: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 Convergence: Fix to use cache_data for FnGetRefId (1) 2015-09-30 21:38:33 +05:30