heat/heat/tests
huangtianhua b2e436aa67 Just to migrate existing resource to backup stack
Don't create a resource record for backup stack if the
resource record exists, just to migrate it to backup
stack, to avoid redundant data remaining for existing
stack.

This patch also adds resource.store() which covers
_store() and _store_or_update() implemention. And then
we can delete the two methods.

Change-Id: I0b4b983306ea84fab0e2c81876ef407a80d25989
Closes-Bug: #1662095
2017-02-10 01:12:32 +00:00
..
api Includes project info while admin getting stacks 2016-11-30 14:15:06 +08:00
autoscaling Improve resource.NoActionRequired 2017-01-25 00:17:00 +00:00
aws Just to migrate existing resource to backup stack 2017-02-10 01:12:32 +00:00
clients Use region_name when creating keystone client 2017-02-03 18:27:32 +05:30
constraints Use more specific asserts in tests 2016-11-22 08:12:35 +01:00
convergence De-duplicate properties_data between events, resources 2017-01-24 15:40:10 -08:00
db Add heat-manage subcommand to migrate legacy prop. data 2017-01-31 13:45:52 -08:00
engine Merge "Fix for resources stuck in progress after engine crash" 2017-01-25 08:38:10 +00:00
openstack Merge "ResourceGroup fix issue with batch create and zero count" 2017-02-02 09:30:12 +00:00
policy Allow policies for resource_types with wildcard 2016-09-28 16:05:32 +05:30
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 Revert "Enable debug logging in unit tests" 2017-02-06 16:02:27 +00:00
fakes.py Override client() for RoleAssignment resources 2016-08-18 15:57:26 +00:00
generic_resource.py Unit tests: add a test resource that takes multiple steps 2016-07-18 16:26:17 -04:00
test_attributes.py Include an OS::stack_id output when generating a template 2017-01-10 15:00:43 -05:00
test_auth_password.py Migrate to keystoneauth 2016-09-06 10:07:22 +05:30
test_auth_url.py Use keystone session in endpoint_utils 2016-09-06 09:48:59 +05:30
test_common_context.py Don't use keystone_authtoken section for trust 2016-12-28 14:02:54 +05:30
test_common_env_util.py Add validation for conflicting merge strategies 2016-11-30 08:13:49 +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 Allow policies for resource_types with wildcard 2016-09-28 16:05:32 +05:30
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 Add a modulo core constraint 2016-10-11 16:55:11 +02:00
test_convg_stack.py Just to migrate existing resource to backup stack 2017-02-10 01:12:32 +00:00
test_crypt.py Refactor, add encrypt/decrypt data dict functions to crypt 2016-11-28 20:31:49 -08:00
test_dbinstance.py Remove unnecessary setUp and tearDown 2016-09-30 10:56:31 +08:00
test_empty_stack.py Show deprecated warnings when import parser 2015-04-14 17:49:15 +08:00
test_engine_api_utils.py Just to migrate existing resource to backup stack 2017-02-10 01:12:32 +00:00
test_engine_service.py Fix for resources stuck in progress after engine crash 2017-01-23 13:01:14 -06: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 "Using assertIsNone() instead of assertIs(None)" 2016-10-03 06:48:47 +00:00
test_environment_format.py Add new environment section for merge strategies 2016-08-19 08:54:30 +05:30
test_event.py Just to migrate existing resource to backup stack 2017-02-10 01:12:32 +00: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 Return error with path in function validate 2016-09-22 16:31:52 +03:00
test_grouputils.py Move function for member_definitions to grouputil 2015-11-03 09:04:30 +05:30
test_hacking.py Correct mistaken parameters of test_hacking.py in tests 2016-08-19 10:07:22 +08:00
test_hot.py Move CFN pseudo functions out of Parameters base class 2017-01-27 15:24:44 -06:00
test_identifier.py Use assertIn and assertNotIn 2015-10-26 22:40:14 +01:00
test_lifecycle_plugin_utils.py Use more specific asserts in tests 2016-11-22 08:12:35 +01:00
test_loguserdata.py Remove spurious logs from test_loguserdata 2015-10-29 17:12:34 +01:00
test_metadata_refresh.py Use more specific asserts in tests 2016-11-22 08:12:35 +01:00
test_nested_stack.py Just to migrate existing resource to backup stack 2017-02-10 01:12:32 +00:00
test_noauth.py Add noauth middleware 2016-10-13 11:49:19 -04:00
test_nokey.py Unit tests: Don't use ResourceDefinition as cfn snippet 2016-05-01 19:42:20 -05:00
test_notifications.py Restore timezone information in API response 2016-09-07 23:29:50 +02: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 Raise TypeError when a bool property has int value 2016-10-20 06:26:43 +00:00
test_properties_group.py Initial PropertiesGroup implementation 2016-11-07 14:29:17 +03:00
test_provider_template.py Use RPC to retrieve nested stack output 2016-10-11 18:02:20 -04:00
test_resource.py Just to migrate existing resource to backup stack 2017-02-10 01:12:32 +00:00
test_resource_properties_data.py Add the ResourcePropertiesData object 2016-12-22 10:29:07 -08:00
test_rpc_client.py Delete mox.stubs in heat 2016-08-27 15:55:05 +07: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 Convergence: Cancel message 2016-07-05 07:52:03 +00:00
test_rsrc_defn.py Ignore dependency errors with conditions 2017-01-12 21:52:15 +01: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 Merge "Move NoActionRequired exception back where it belongs" 2016-09-14 23:44:08 +00:00
test_stack.py Just to migrate existing resource to backup stack 2017-02-10 01:12:32 +00:00
test_stack_collect_attributes.py Efficient passing of attrs during traversals 2017-01-18 13:29:34 -05: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 Don't always eagerly load the raw_template for a stack 2016-10-04 08:25:01 -04:00
test_stack_resource.py Do not throw an exception if stack outputs is not set 2016-11-11 18:18:26 -08:00
test_stack_update.py Non-destructive upgrade for deprecated resources 2016-09-02 13:09:11 +08:00
test_stack_user.py Just to migrate existing resource to backup stack 2017-02-10 01:12:32 +00:00
test_support.py Replace tag 2015.2 to 5.0.0 2015-08-06 06:29:09 -04:00
test_template.py Move CFN pseudo functions out of Parameters base class 2017-01-27 15:24:44 -06:00
test_template_files.py del _session(), use context.session directly 2016-06-22 10:45:04 +12:00
test_template_format.py Use more specific asserts in tests 2016-11-22 08:12:35 +01:00
test_timeutils.py Remove unnecessary setUp and tearDown 2016-09-30 10:56:31 +08:00
test_translation_rule.py Add workaround for functions in translation 2016-10-05 16:00:14 +05:30
test_urlfetch.py Set enforce_type=True on config overrides in tests 2016-04-11 10:52:22 +10:00
test_validate.py Check if image_identifier is UUID 2017-01-06 11:43:45 +08:00
test_version.py Coverage: Additional test case for better coverage 2015-06-16 13:01:30 +05:30
test_vpc.py Fix is_using_neutron 2016-07-27 22:11:58 +05:30
test_watch.py Use more specific asserts in tests 2016-11-22 08:12:35 +01:00
testing-overview.txt Add alternative way to use debugger for unittets 2015-08-20 16:28:51 +00:00
utils.py Allow to create admin context for tests 2016-12-19 11:55:05 +08:00