heat/heat/tests
Steve Baker 419c9ab994 del _session(), use context.session directly
There should always be a context supplied, lets use its session
directly so we can be sure that the session is the shared one from the
context.

Any remaining functions which call get_session() directly will be
handled in their own changes as some require special behaviour.

Change-Id: I3e52d2ff6bb1014f201715a1b1ba32c122c2391d
Related-Bug: #1479723
2016-06-22 10:45:04 +12:00
..
api Authorize super admin actions on all projects 2016-06-14 22:16:25 +05:30
autoscaling Merge "Fixes cooldown logic throws ValueError" 2016-05-18 12:55:18 +00:00
aws del _session(), use context.session directly 2016-06-22 10:45:04 +12:00
clients Merge "Use get_auth_ref() rather than auth_ref property" 2016-06-14 10:56:48 +00:00
constraints move ceilometer constraints to common constraint 2015-08-03 13:18:31 +08:00
convergence Migrate nova_instance to physical_resource_id 2016-05-17 13:33:43 +05:30
db del _session(), use context.session directly 2016-06-22 10:45:04 +12:00
engine del _session(), use context.session directly 2016-06-22 10:45:04 +12:00
openstack del _session(), use context.session directly 2016-06-22 10:45:04 +12: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 Move heat_keystoneclient to clients package 2016-06-01 16:27:01 +05:30
fakes.py Use keystoneauth1 instead of keystoneclient.auth 2016-05-24 20:27:23 +05:30
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 generic auth plugins 2016-06-07 10:45:09 +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 generic auth plugins 2016-06-07 10:45:09 +05:30
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 Merge "Convergence: DB api to get all active resources of stack" 2016-06-03 04:27:25 +00: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 Use Event versioned object for event_list formatting 2016-06-13 09:39:52 +12:00
test_engine_service.py Declare and use keyword args for Stack.get_all 2016-05-26 10:36:01 +12: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 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_event.py Use Event versioned object for event_list formatting 2016-06-13 09:39:52 +12: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 Merge "Allow deletion_policy to be lowercase in HOT" 2016-06-09 21:13:10 +00: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 Unit tests: Don't use ResourceDefinition as cfn snippet 2016-05-01 19:42:20 -05:00
test_notifications.py Use user id instead of user name in notification body 2015-12-07 08:25:04 -06:00
test_parameters.py string parameter type mismatch 2016-05-24 12:44:01 +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 del _session(), use context.session directly 2016-06-22 10:45:04 +12:00
test_rpc_client.py Add to resource_schema returning description 2016-05-25 16:24:03 +03: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 Reinstate deprecation warnings 2016-04-13 19:49:04 -04:00
test_server_tags.py Unit tests: Don't use ResourceDefinition as cfn snippet 2016-05-01 19:42:20 -05:00
test_short_id.py Port short_id to return unicode 2015-07-09 07:15:49 +00:00
test_signal.py Get rid of gratuitous use of six.iterkeys() 2016-06-07 03:50:49 +00:00
test_stack.py del _session(), use context.session directly 2016-06-22 10:45:04 +12: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 Be consistent about context first argument in db api 2016-06-22 10:45:04 +12:00
test_stack_lock.py Move some functions to service_utils 2016-06-01 03:57:04 +00:00
test_stack_resource.py De-duplicate raw_template.files 2016-05-25 15:27:27 -04:00
test_stack_update.py Unit tests: Don't use ResourceDefinition as cfn snippet 2016-05-01 19:42:20 -05: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 Get rid of gratuitous use of six.iterkeys() 2016-06-07 03:50:49 +00:00
test_template_files.py del _session(), use context.session directly 2016-06-22 10:45:04 +12:00
test_template_format.py Get rid of gratuitous use of six.iterkeys() 2016-06-07 03:50:49 +00:00
test_timeutils.py Round the elapsed time to the nearest second 2015-09-09 06:59:56 +00:00
test_translation_rule.py Improve translation properties 2016-06-15 13:06:54 +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 tag support for glance image resource plugin 2016-05-11 18:41:30 +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 del _session(), use context.session directly 2016-06-22 10:45:04 +12:00