heat/heat/tests
Sergey Kraynev 51807d2333 Use mock in test_attributes.py instead of mox
- remove unused VerifyAll, ReplayAll
- use MagicMock instead of CreateMockAnything
- use MagicMock object for returning value instead of lambda
  function

Change-Id: Ib3c531776fce4c450fd8679d11f3e693751d5db5
2015-07-13 16:30:46 +03:00
..
api Rename api unit test folder name 2015-07-12 23:47:13 -04:00
autoscaling ASG scaling account for cooldown timestamp & in-progress 2015-07-05 23:19:06 -04:00
aws Merge "Allow suspend and resume again if failed last time" 2015-07-08 10:05:40 +00:00
barbican Move barbican resources in-tree 2015-06-03 22:55:11 -07:00
ceilometer Move ceilometer resource tests to /tests/ceilometer/ 2015-07-03 11:38:53 +08:00
cinder Move all client tests to /tests/clients 2015-07-03 11:02:18 +08:00
clients Merge "Adds designate.domain constraint" 2015-07-11 02:39:07 +00:00
db Add a new crypt method using cryptography 2015-07-07 10:06:47 +02:00
engine Merge "Add template-function-list" 2015-07-13 02:14:34 +00:00
keystone Move all client tests to /tests/clients 2015-07-03 11:02:18 +08:00
manila Fix failures related to the mock 1.1.0 release 2015-07-10 17:11:22 +02:00
mistral Fix failures related to the mock 1.1.0 release 2015-07-10 17:11:22 +02:00
neutron Conditionally expose resources based on available services 2015-07-07 14:25:44 +05:30
nova Fix failures related to the mock 1.1.0 release 2015-07-10 17:11:22 +02:00
openstack Adds designate.domain constraint 2015-07-06 09:51:13 +05:30
policy Add check_is_admin to common.policy.Enforcer 2013-11-27 22:30:59 +00:00
templates Fixes JSON to YAML conversion bug 2015-06-25 07:32:34 -07:00
__init__.py Override mox in sys.modules to mox3 in a py3 env 2015-07-02 11:41:49 +05:30
common.py Conditionally expose resources based on available services 2015-07-07 14:25:44 +05:30
fakes.py Fix some new PEP8 errors found at gate 2015-03-24 11:13:50 +08:00
generic_resource.py Conditionally expose resources based on available services 2015-07-07 14:25:44 +05:30
test_attributes.py Use mock in test_attributes.py instead of mox 2015-07-13 16:30:46 +03:00
test_auth_password.py Remove deprecated headers in auth_password 2015-06-15 06:44:39 +00:00
test_auth_url.py Fix [H302] errors in heat/common 2014-11-20 15:06:53 +00:00
test_cloud_config.py Show deprecated warnings when import parser 2015-04-14 17:49:15 +08:00
test_cloudwatch.py Disable cloud-watch-lite by default 2015-05-31 17:36:13 +08:00
test_common_context.py Remove deprecated headers in auth_password 2015-06-15 06:44:39 +00:00
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 Switch to oslo.policy 2015-05-29 09:01:45 +00:00
test_common_serializers.py Replace dict.itervalues/dict.iteritems and use len over filter function 2015-04-23 19:45:36 +05:30
test_common_service_utils.py heat-manage service list 2015-02-02 13:05:46 +05:30
test_constraints.py Catch warnings consistently during tests 2015-05-14 17:35:08 +10:00
test_crypt.py Add a new crypt method using cryptography 2015-07-07 10:06:47 +02:00
test_cw_alarm.py Move heat resources 2015-03-06 11:05:27 +08:00
test_dbinstance.py Show deprecated warnings when import parser 2015-04-14 17:49:15 +08:00
test_dependencies.py convergence: sync_point fixes 2015-06-19 08:24:19 +05:30
test_empty_stack.py Show deprecated warnings when import parser 2015-04-14 17:49:15 +08:00
test_engine_api_utils.py Move registration of GenericResource to HeatTest 2015-06-15 02:43:15 -04:00
test_engine_service.py Merge "Add template-function-list" 2015-07-13 02:14:34 +00:00
test_engine_service_stack_watch.py Catch warnings consistently during tests 2015-05-14 17:35:08 +10:00
test_engine_worker.py Merge "Convergence: Correct the class name EngineListener" 2015-07-03 01:12:48 +00:00
test_environment.py Keep the path when re-registering the template resource 2015-07-07 09:53:36 +10:00
test_environment_format.py Encrypt Heat template hidden parameters 2015-05-12 10:50:49 -05:00
test_event.py Coverage: Additional test coverage for engine event 2015-06-17 23:29:42 +05:30
test_exception.py Produce more meaningful exception messages in nested stacks 2015-06-24 08:52:08 +10:00
test_fault_middleware.py Separate message and traceback even if not a remote error 2015-03-16 11:16:38 -05:00
test_function.py Coverage: Full coverage for engine function methods 2015-06-28 21:56:54 +05:30
test_glance_image.py Produce more meaningful exception messages in nested stacks 2015-06-24 08:52:08 +10:00
test_grouputils.py Use six.itervalues(x) instead of x.values() 2015-04-21 09:05:49 +03:00
test_hot.py Add str_split function to HOT 2015-10-15 2015-07-01 15:54:04 +01:00
test_identifier.py Coverage: Full coverage for heat identifier 2015-06-29 00:01:04 +05:30
test_instance_group.py Merge "Stack updated error if creation fails" 2015-06-18 08:00:14 +00:00
test_instance_group_update_policy.py Novaclient v2 instead of v1_1 2015-04-03 11:24:59 +02:00
test_iso_8601.py Move resource inheritance class to engine/resources 2015-03-10 18:07:46 +08:00
test_lifecycle_plugin_utils.py Enable H904 style checking rule 2015-01-20 11:14:06 +02:00
test_loguserdata.py Enable H305 and H307 style checks 2015-01-20 09:47:25 +02:00
test_magnum_baymodel.py Conditionally expose resources based on available services 2015-07-07 14:25:44 +05:30
test_metadata_refresh.py Conditionally expose resources based on available services 2015-07-07 14:25:44 +05:30
test_multi_part.py Show deprecated warnings when import parser 2015-04-14 17:49:15 +08:00
test_nested_stack.py Switch total_resources to use stack_count_total_resources 2015-06-02 12:04:12 +12:00
test_nokey.py Novaclient v2 instead of v1_1 2015-04-03 11:24:59 +02:00
test_notifications.py Stop using oslo_utils.timeutils.isotime() 2015-06-02 17:12:52 +02:00
test_os_database.py Add replication properties to OS::Trove::Instance 2015-06-08 10:52:29 -05:00
test_parameters.py Fix TypeError on joining list parameters 2015-07-01 18:01:49 -04:00
test_plugin_loader.py Use HeatTestCase as parent instead of testtools 2015-03-31 15:17:29 +00:00
test_plugin_manager.py Coverage: Full coverage for engine plugin manager 2015-06-18 06:44:57 +05:30
test_properties.py Use the default when creating schema from a template 2015-07-06 11:08:14 +10:00
test_provider_template.py Use the default when creating schema from a template 2015-07-06 11:08:14 +10:00
test_random_string.py Merge "Improve StackValidationFailed response in properties" 2015-04-20 03:54:09 +00:00
test_remote_stack.py Produce more meaningful exception messages in nested stacks 2015-06-24 08:52:08 +10:00
test_resource.py Merge "Allow suspend and resume again if failed last time" 2015-07-08 10:05:40 +00:00
test_resource_group.py Register ResourceWithComplexAttributes in HeatTest 2015-06-15 02:43:15 -04:00
test_restarter.py Stop monkey-patching global namespace 2015-05-28 13:05:15 +00:00
test_rpc_client.py support list resources with details 2015-07-08 17:22:33 +08: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 Add deprecation warning for ResourceDefinition 2015-06-04 09:34:03 -04:00
test_sahara_cluster.py Produce more meaningful exception messages in nested stacks 2015-06-24 08:52:08 +10:00
test_sahara_templates.py Produce more meaningful exception messages in nested stacks 2015-06-24 08:52:08 +10:00
test_scaling_template.py Change instances of x.next() to next(x) 2015-04-24 11:49:36 +05:30
test_scheduler.py Adopt @six.python_2_unicode_compatible decorator 2015-07-09 12:44:03 +05:30
test_server_tags.py Retain references to stacks in all unit tests 2015-05-14 16:55:12 -04:00
test_short_id.py Port short_id to return unicode 2015-07-09 07:15:49 +00:00
test_signal.py Move registration of GenericResource to HeatTest 2015-06-15 02:43:15 -04:00
test_software_component.py Improve StackValidationFailed response in properties 2015-04-10 15:42:21 +03:00
test_software_config.py Show deprecated warnings when import parser 2015-04-14 17:49:15 +08:00
test_software_deployment.py Fix failures related to the mock 1.1.0 release 2015-07-10 17:11:22 +02:00
test_stack.py Add a new crypt method using cryptography 2015-07-07 10:06:47 +02:00
test_stack_collect_attributes.py Register ResourceWithProps in HeatTestCase 2015-06-15 02:43:15 -04:00
test_stack_delete.py Fix failures related to the mock 1.1.0 release 2015-07-10 17:11:22 +02:00
test_stack_lock.py Move listener rpc client to rpc/listener_client.py 2015-06-19 08:24:19 +05:30
test_stack_resource.py Produce more meaningful exception messages in nested stacks 2015-06-24 08:52:08 +10:00
test_stack_update.py Move registration of GenericResource to HeatTest 2015-06-15 02:43:15 -04:00
test_stack_user.py Move registration of resources to HeatTestCase 2015-06-15 02:43:15 -04:00
test_structured_config.py Rename OS::Heat::StructuredDeployments 2015-05-26 14:59:33 +02:00
test_support.py Add previous_status to SupportStatus 2015-06-16 18:05:01 +03:00
test_swift.py Produce more meaningful exception messages in nested stacks 2015-06-24 08:52:08 +10:00
test_swiftsignal.py Produce more meaningful exception messages in nested stacks 2015-06-24 08:52:08 +10:00
test_sync_point.py Add a way to run py34 tests from file 2015-07-09 07:15:37 +00:00
test_template.py Merge "Removes redundant validation of template (1)" 2015-07-01 08:30:11 +00:00
test_template_format.py Fixes JSON to YAML conversion bug 2015-06-25 07:32:34 -07:00
test_timeutils.py Make all assertEqual() calls conform to convention 2014-12-03 19:07:26 +08:00
test_trove_cluster.py Produce more meaningful exception messages in nested stacks 2015-06-24 08:52:08 +10:00
test_urlfetch.py Make import of oslo libraries namespaceless 2015-02-18 22:54:10 +01:00
test_validate.py Fix validation error for parameter group 2015-06-30 11:38:33 +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 Heat could not create samples with Ceilometer 2015-05-28 22:18:35 +08:00
test_zaqar_queue.py Produce more meaningful exception messages in nested stacks 2015-06-24 08:52:08 +10:00
testing-overview.txt Update testing-overview.txt 2014-12-15 10:55:09 +02:00
utils.py Add __hash__ functions where necessary 2015-07-02 07:56:22 +00:00