heat/heat/tests
Steve Baker 5808fbffe0 Optional data for resource_data_get_all
resource_data_get_all queries the database for the data, and
transforms the results to a decrypted dict.

If the data is already loaded then it is unnecessary to do the
database query again.

This change allows data to be passed in as an optional argument.
If the passed data is not None then no database call will be made
and the dict transformation will occur on passed data.

Change-Id: I579225d9a3f3b038e0ca41a5900c58413d6e25ac
Related-Bug: #1306743
2014-04-22 10:40:40 +12:00
..
db Remove use of py3kcompat 2014-04-03 12:31:30 +02:00
policy Add check_is_admin to common.policy.Enforcer 2013-11-27 22:30:59 +00:00
templates "version" section should be required in template 2014-01-24 09:47:55 +08:00
v1_1 Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
__init__.py Make the first line of every file consistent. 2014-03-04 09:03:04 -06:00
common.py Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
fakes.py Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
generic_resource.py Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
test_api_aws.py Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
test_api_cfn_v1.py Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
test_api_cloudwatch.py Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
test_api_ec2token.py Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
test_api_openstack_v1.py Merge "Allow filtering of stacks by action" 2014-04-17 17:20:42 +00:00
test_api_openstack_v1_util.py Make the first line of every file consistent. 2014-03-04 09:03:04 -06:00
test_api_openstack_v1_views_stacks_view_builder.py Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
test_api_openstack_v1_views_views_common.py Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
test_attributes.py Make the first line of every file consistent. 2014-03-04 09:03:04 -06:00
test_auth_password.py Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
test_auth_url.py Make the first line of every file consistent. 2014-03-04 09:03:04 -06:00
test_autoscaling.py Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
test_autoscaling_update_policy.py Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
test_ceilometer_alarm.py Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
test_clients.py Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
test_cloud_config.py A cloud-config resource based on SoftwareConfig 2014-02-05 08:30:51 +08:00
test_cloudwatch.py Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
test_common_context.py Allow for stack users in _authorize_stack_user 2014-04-07 16:56:13 +12:00
test_common_policy.py Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
test_common_serializers.py Refactor to separate serializers from wsgi controller 2014-04-10 08:30:46 +01:00
test_constraints.py Make the first line of every file consistent. 2014-03-04 09:03:04 -06:00
test_cw_alarm.py Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
test_dbinstance.py Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
test_dependencies.py Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
test_eip.py Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
test_engine_api_utils.py Replace str with six.text_type in tests 2014-04-11 20:47:15 +08:00
test_engine_service.py Merge "Don't ignore event creation errors" 2014-04-18 19:28:58 +00:00
test_environment.py Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
test_environment_format.py Make the first line of every file consistent. 2014-03-04 09:03:04 -06:00
test_event.py Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
test_exception.py Make the first line of every file consistent. 2014-03-04 09:03:04 -06:00
test_fault_middleware.py Replace str with six.text_type in tests 2014-04-11 20:47:15 +08:00
test_function.py Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
test_heat_autoscaling_group.py Order imports in alphabetical order (7/9) 2014-03-18 18:09:24 +02:00
test_heatclient.py Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
test_hot.py Replace str with six.text_type in tests 2014-04-11 20:47:15 +08:00
test_identifier.py Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
test_image.py Don't catch all exceptions in image constraint 2014-03-25 19:19:01 +01:00
test_instance.py Merge "Allow complex scheduler hints for AWS Instance" 2014-04-14 05:36:39 +00:00
test_instance_group.py Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
test_instance_group_update_policy.py Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
test_instance_network.py Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
test_iso8601_utils.py Make the first line of every file consistent. 2014-03-04 09:03:04 -06:00
test_loadbalancer.py Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
test_loguserdata.py Make the first line of every file consistent. 2014-03-04 09:03:04 -06:00
test_metadata_refresh.py Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
test_multi_part.py A multipart cloud-init resource based on SoftwareConfig 2014-02-05 08:30:28 +08:00
test_nested_stack.py Tidy up urlfetch.py exception handling 2014-04-11 20:47:15 +08:00
test_neutron.py Don't pass enable_snat by default in Router 2014-04-18 21:56:37 +02:00
test_neutron_autoscaling.py Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
test_neutron_firewall.py Order imports in alphabetical order (8/9) 2014-03-27 12:45:17 +02:00
test_neutron_loadbalancer.py Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
test_neutron_metering.py Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
test_neutron_network_gateway.py Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
test_neutron_security_group.py Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
test_neutron_vpnservice.py Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
test_nokey.py Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
test_notifications.py Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
test_nova_floatingip.py Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
test_nova_keypair.py Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
test_nova_utils.py Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
test_os_database.py Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
test_parameters.py More specific exceptions when validating params 2014-04-09 14:59:57 -04:00
test_parser.py Fix inaccurate error_msg for InvalidTemplateVersion 2014-04-15 10:07:58 +08:00
test_plugin_loader.py Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
test_plugin_manager.py Add a plugin_manager module 2014-03-03 21:10:42 -05:00
test_properties.py More specific exceptions when validating params 2014-04-09 14:59:57 -04:00
test_provider_template.py Tidy up urlfetch.py exception handling 2014-04-11 20:47:15 +08:00
test_random_string.py Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
test_resource.py Merge "Remove unused variable for UpdateReplace exception" 2014-04-11 14:09:50 +00:00
test_resource_group.py Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
test_restarter.py Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
test_rpc_client.py Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
test_s3.py Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
test_scaling_template.py Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
test_scheduler.py Make the first line of every file consistent. 2014-03-04 09:03:04 -06:00
test_security_group.py Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
test_server.py Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
test_server_tags.py Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
test_short_id.py Make the first line of every file consistent. 2014-03-04 09:03:04 -06:00
test_signal.py Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
test_software_config.py Resource type for software configuration 2014-02-05 08:29:54 +08:00
test_software_deployment.py Order imports in alphabetical order (8/9) 2014-03-27 12:45:17 +02:00
test_sqlalchemy_api.py Optional data for resource_data_get_all 2014-04-22 10:40:40 +12:00
test_sqlalchemy_filters.py Make the first line of every file consistent. 2014-03-04 09:03:04 -06:00
test_sqlalchemy_types.py Order imports in alphabetical order (8/9) 2014-03-27 12:45:17 +02:00
test_ssl_middleware.py Make the first line of every file consistent. 2014-03-04 09:03:04 -06:00
test_stack_lock.py Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
test_stack_resource.py Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
test_stack_user.py Order imports in alphabetical order (8/9) 2014-03-27 12:45:17 +02:00
test_structured_config.py Order imports in alphabetical order (8/9) 2014-03-27 12:45:17 +02:00
test_support.py Make the first line of every file consistent. 2014-03-04 09:03:04 -06:00
test_swift.py Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
test_template.py Move some template validation to Template class 2014-04-14 13:07:47 +02:00
test_template_format.py Replace str with six.text_type in tests 2014-04-11 20:47:15 +08:00
test_urlfetch.py Tidy up urlfetch.py exception handling 2014-04-11 20:47:15 +08:00
test_user.py Don't ignore event creation errors 2014-04-14 11:34:09 +02:00
test_validate.py Make template validation uniform 2014-04-17 04:41:08 -04:00
test_version_negotiation_middleware.py Make the first line of every file consistent. 2014-03-04 09:03:04 -06:00
test_volume.py Use cinder API for volume attach and detach 2014-04-14 13:05:49 +03:00
test_vpc.py Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
test_waitcondition.py Fix wrongly printed count of received handled conditions. 2014-04-18 11:52:40 +02:00
test_watch.py Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
test_wsgi.py Don't disguise CFN API exceptions 2014-04-10 08:30:46 +01:00
testing-overview.txt Remove examples and update testing-overview.txt 2013-04-30 13:51:31 -07:00
utils.py Sync latest oslo.db code 2014-04-11 10:48:46 +03:00