heat/heat/tests
Steven Hardy f9d9fae233 tests add stub_keystoneclient to base test class
Add convenience function to allow easy stubbing of keystoneclient
in all tests where explicit control and verification is not required.
This is a precursor to making all clients use the auth_token property
from keystoneclient (instead of using the context auth_token in
preference) such that trust tokens can be refreshed before expiry.

Partial-Bug: #1306294

Change-Id: I9ba4595b8750ff769e76972cc30b55a68253e76d
2014-06-18 10:55:41 +01:00
..
db Order imports in alphabetical order (9/9) 2014-05-22 16:49:51 +03: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 Order imports in alphabetical order (9/9) 2014-05-22 16:49:51 +03:00
__init__.py Enable lazy translation in unit tests 2014-04-14 12:26:18 +08:00
common.py tests add stub_keystoneclient to base test class 2014-06-18 10:55:41 +01:00
fakes.py Order imports in alphabetical order (9/9) 2014-05-22 16:49:51 +03:00
generic_resource.py Merge "Deprecating the old style attribute Schema" 2014-05-28 21:26:16 +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 API changes for param to show soft-deleted stacks 2014-05-01 16:47:13 -05:00
test_api_cloudwatch.py Fix many typos 2014-04-25 16:45:43 -07: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 Only push metadata when required 2014-05-16 10:57:03 -04:00
test_api_openstack_v1_util.py Order imports in alphabetical order (9/9) 2014-05-22 16:49:51 +03: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 Order imports in alphabetical order (9/9) 2014-05-22 16:49:51 +03:00
test_attributes.py Implement caching of resource attributes 2014-05-30 13:14:27 +12: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 tests add stub_keystoneclient to base test class 2014-06-18 10:55:41 +01:00
test_autoscaling_update_policy.py tests add stub_keystoneclient to base test class 2014-06-18 10:55:41 +01:00
test_ceilometer_alarm.py tests add stub_keystoneclient to base test class 2014-06-18 10:55:41 +01:00
test_clients.py Order imports in alphabetical order (9/9) 2014-05-22 16:49:51 +03:00
test_cloud_config.py Order imports in alphabetical order (9/9) 2014-05-22 16:49:51 +03:00
test_cloudwatch.py tests remove stack_delete_after decorator 2014-04-30 16:14:59 +01:00
test_common_context.py Add auth_token_info to request context 2014-06-09 11:43:25 +01:00
test_common_param_utils.py Move API parameter parsing from OpenStack API to engine 2014-05-19 20:53:15 -04: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 Order imports in alphabetical order (9/9) 2014-05-22 16:49:51 +03:00
test_constraints.py Do not validate constraints in schema constructor 2014-05-20 11:17:40 +02:00
test_cw_alarm.py Unit tests: Always use ResourceDefinition for updates 2014-06-16 11:05:24 -04:00
test_dbinstance.py tests make dummy db setup/reset consistent 2014-04-28 14:17:33 +01:00
test_dependencies.py Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
test_eip.py tests add stub_keystoneclient to base test class 2014-06-18 10:55:41 +01:00
test_engine_api_utils.py RPC API: Really don't include metadata in resource list 2014-06-16 11:13:30 -04:00
test_engine_service.py Convert service.py to use_stored_context 2014-06-18 10:55:41 +01:00
test_environment.py Replacing variable logger on LOG 2014-05-27 15:48:33 -04:00
test_environment_format.py Make the first line of every file consistent. 2014-03-04 09:03:04 -06:00
test_event.py Unit tests: Create resources with ResourceDefinition 2014-06-05 13:45:14 -04:00
test_exception.py Make the first line of every file consistent. 2014-03-04 09:03:04 -06:00
test_fault_middleware.py Order imports in alphabetical order (9/9) 2014-05-22 16:49:51 +03:00
test_function.py Allow functions to calculate dependencies 2014-05-27 22:18:41 -04:00
test_glance_image.py Add OS::Glance::Image resource 2014-06-10 10:42:26 +08:00
test_glance_utils.py Migrate to glanceclient to get image id 2014-05-27 14:46:37 +08:00
test_heat_autoscaling_group.py tests add stub_keystoneclient to base test class 2014-06-18 10:55:41 +01:00
test_heatclient.py Revert "Use auth_token_info to initialize heat_keystoneclient sessions" 2014-06-12 00:24:19 +00:00
test_hot.py Unit tests: use ResourceDefinition to test facades 2014-06-16 11:13:30 -04:00
test_identifier.py Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
test_image.py Migrate to glanceclient to get image id 2014-05-27 14:46:37 +08:00
test_instance.py Unit tests: Create resources with ResourceDefinition 2014-06-05 13:45:14 -04:00
test_instance_group.py Unit tests: always use ResourceDefinition for handle_update() 2014-06-16 11:13:30 -04:00
test_instance_group_update_policy.py Give resource fakes a string ID 2014-05-08 11:54:55 +12:00
test_instance_network.py Update: Make addition/removal of resources more explicit 2014-06-16 11:13:30 -04:00
test_iso8601_utils.py tests make dummy db setup/reset consistent 2014-04-28 14:17:33 +01:00
test_iso_8601.py Add ISO 8601 date constraint 2014-05-05 11:01:24 -04:00
test_loadbalancer.py tests add stub_keystoneclient to base test class 2014-06-18 10:55:41 +01:00
test_loguserdata.py Make the first line of every file consistent. 2014-03-04 09:03:04 -06:00
test_metadata_refresh.py tests add stub_keystoneclient to base test class 2014-06-18 10:55:41 +01:00
test_multi_part.py Order imports in alphabetical order (9/9) 2014-05-22 16:49:51 +03:00
test_nested_stack.py Unit tests: always use ResourceDefinition for handle_update() 2014-06-16 11:13:30 -04:00
test_neutron.py tests add stub_keystoneclient to base test class 2014-06-18 10:55:41 +01:00
test_neutron_autoscaling.py tests add stub_keystoneclient to base test class 2014-06-18 10:55:41 +01:00
test_neutron_firewall.py tests add stub_keystoneclient to base test class 2014-06-18 10:55:41 +01:00
test_neutron_loadbalancer.py tests add stub_keystoneclient to base test class 2014-06-18 10:55:41 +01:00
test_neutron_metering.py tests add stub_keystoneclient to base test class 2014-06-18 10:55:41 +01:00
test_neutron_network_gateway.py tests add stub_keystoneclient to base test class 2014-06-18 10:55:41 +01:00
test_neutron_security_group.py tests add stub_keystoneclient to base test class 2014-06-18 10:55:41 +01:00
test_neutron_vpnservice.py tests add stub_keystoneclient to base test class 2014-06-18 10:55:41 +01:00
test_nokey.py Unit tests: Create resources with ResourceDefinition 2014-06-05 13:45:14 -04:00
test_notifications.py Order imports in alphabetical order (9/9) 2014-05-22 16:49:51 +03:00
test_nova_floatingip.py tests add stub_keystoneclient to base test class 2014-06-18 10:55:41 +01:00
test_nova_keypair.py Unit tests: Create resources with ResourceDefinition 2014-06-05 13:45:14 -04:00
test_nova_utils.py Migrate to glanceclient to get image id 2014-05-27 14:46:37 +08:00
test_os_database.py Unit tests: Create resources with ResourceDefinition 2014-06-05 13:45:14 -04:00
test_parameters.py Merge "Include parameter name in error message" 2014-06-10 18:49:10 +00:00
test_parser.py tests add stub_keystoneclient to base test class 2014-06-18 10:55:41 +01:00
test_plugin_loader.py Skip tests when loading plugins 2014-04-30 23:19:57 +02:00
test_plugin_manager.py Order imports in alphabetical order (9/9) 2014-05-22 16:49:51 +03:00
test_properties.py More specific exceptions when validating params 2014-04-09 14:59:57 -04:00
test_provider_template.py Unit tests: Create resources with ResourceDefinition 2014-06-05 13:45:14 -04:00
test_random_string.py Order imports in alphabetical order (9/9) 2014-05-22 16:49:51 +03:00
test_resource.py Unit tests: Always use ResourceDefinition for updates 2014-06-16 11:05:24 -04:00
test_resource_group.py Unit tests: Create resources with ResourceDefinition 2014-06-05 13:45:14 -04:00
test_restarter.py Unit tests: Create resources with ResourceDefinition 2014-06-05 13:45:14 -04:00
test_rpc_client.py API changes for param to show soft-deleted stacks 2014-05-01 16:47:13 -05:00
test_rsrc_defn.py Add a ResourceDefinition class 2014-05-30 15:38:01 -04:00
test_s3.py tests add stub_keystoneclient to base test class 2014-06-18 10:55:41 +01: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 Order imports in alphabetical order (9/9) 2014-05-22 16:49:51 +03:00
test_security_group.py tests add stub_keystoneclient to base test class 2014-06-18 10:55:41 +01:00
test_server.py tests add stub_keystoneclient to base test class 2014-06-18 10:55:41 +01:00
test_server_tags.py Unit tests: Create resources with ResourceDefinition 2014-06-05 13:45:14 -04:00
test_short_id.py Order imports in alphabetical order (9/9) 2014-05-22 16:49:51 +03:00
test_signal.py tests add stub_keystoneclient to base test class 2014-06-18 10:55:41 +01:00
test_software_config.py Order imports in alphabetical order (9/9) 2014-05-22 16:49:51 +03:00
test_software_deployment.py Unit tests: always use ResourceDefinition for handle_update() 2014-06-16 11:13:30 -04:00
test_sqlalchemy_api.py Unit tests: Create resources with ResourceDefinition 2014-06-05 13:45:14 -04: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 Order imports in alphabetical order (9/9) 2014-05-22 16:49:51 +03:00
test_stack_lock.py Implement context manager for stack lock 2014-05-29 13:18:34 -05:00
test_stack_resource.py Support passing a Template object to StackResource 2014-06-05 13:45:14 -04:00
test_stack_user.py Merge "Port all resources to new resource data methods" 2014-04-30 10:02:11 +00:00
test_structured_config.py Removing default version for templates 2014-05-12 04:14:47 -04:00
test_support.py Order imports in alphabetical order (9/9) 2014-05-22 16:49:51 +03:00
test_swift.py tests add stub_keystoneclient to base test class 2014-06-18 10:55:41 +01:00
test_template.py Removing default version for templates 2014-05-12 04:14:47 -04:00
test_template_format.py Order imports in alphabetical order (9/9) 2014-05-22 16:49:51 +03:00
test_urlfetch.py Tidy up urlfetch.py exception handling 2014-04-11 20:47:15 +08:00
test_user.py Unit tests: Create resources with ResourceDefinition 2014-06-05 13:45:14 -04:00
test_validate.py Get deletion policy from ResourceDefinition 2014-06-16 11:13:30 -04:00
test_version_negotiation_middleware.py Order imports in alphabetical order (9/9) 2014-05-22 16:49:51 +03:00
test_volume.py Unit tests: Always use ResourceDefinition for updates 2014-06-16 11:05:24 -04:00
test_vpc.py tests add stub_keystoneclient to base test class 2014-06-18 10:55:41 +01:00
test_waitcondition.py tests add stub_keystoneclient to base test class 2014-06-18 10:55:41 +01:00
test_watch.py Order imports in alphabetical order (9/9) 2014-05-22 16:49:51 +03:00
test_wsgi.py Replacing variable logger on LOG 2014-05-27 15:48:33 -04:00
testing-overview.txt Remove examples and update testing-overview.txt 2013-04-30 13:51:31 -07:00
utils.py tests remove stack_delete_after decorator 2014-04-30 16:14:59 +01:00