fuel-web/nailgun/nailgun/test/unit
Dmitry Guryanov 1f31a850b8 Add UnionDict class for lcm
We don't merge common_attrs with node's custom attributes
in deployment info. But YAQL expressions still need to
access 'unified' deployment info, related to node. So
we were merging dicts every time yaql want to access it.
It's a bit slow, so this patch introduces class, which
works like union of several dicts without creation of the new
data structure.

Partial-Bug: #1596987

Change-Id: Iea32ab222421fc7a3c5df66e7e48f4d1a4b931f5
2016-09-05 19:52:51 +03:00
..
fuel_statistics_tests Expose configuration to skip gateway ping check 2016-07-06 19:12:14 +00:00
fuyaql_tests Add fuyaql to allow debug expressions on master node 2016-06-22 15:50:45 +03:00
__init__.py Separate unit and integration tests 2013-09-16 17:28:00 +03:00
test_assignment_validator.py Fix role restriction iteration cycle according to docs 2016-06-03 14:52:51 +00:00
test_attributes_generators.py Improve password quality for generated passwords 2015-10-02 08:41:01 -05:00
test_attributes_validator.py Take into account restriction's `strict` value 2016-06-02 16:47:35 +03:00
test_ceph.py Ceph: fix PG count number 2015-08-13 17:36:01 +03:00
test_check_repo_connection_task.py Don't use self.env.clusters[0] in tests where possible 2016-04-26 17:53:36 +03:00
test_cluster_validator.py Support stop deployment for already deployed cluster with LCM 2016-04-20 20:09:04 +03:00
test_cpu_distribution.py Change CPU distribution 2016-06-06 18:36:27 +03:00
test_datadiff.py Introduced datadiff tool 2016-03-24 13:23:32 +03:00
test_db.py Allow to use socket to connect to DB in Nailgun 2014-12-10 07:21:00 +00:00
test_db_migrations.py New VIP-related fields in the database 2016-02-02 18:16:27 +03:00
test_db_models.py Fix syntax for python3 2016-04-20 17:06:28 +00:00
test_deadlock_detector.py Don't use self.env.clusters[0] in tests where possible 2016-04-26 17:53:36 +03:00
test_default_ip_addrs.py Load fixture with master node ip for fuelweb_admin 2014-02-24 14:17:34 +02:00
test_deployment_graph_object.py Introduced metadata for deployment graphs 2016-08-19 17:36:04 +03:00
test_deployment_history.py Now surrogate deployment history tasks respecting filtering 2016-06-22 12:51:47 +00:00
test_deployment_history_object.py Fuel Nailgun: Noop run support 2016-08-25 02:30:45 +03:00
test_deployment_network_serializer.py Move network serialization code to network manager extension 2016-05-12 12:40:35 +03:00
test_deployment_nodes_filtering.py Don't use self.env.clusters[0] in tests where possible 2016-04-26 17:53:36 +03:00
test_deployment_serializer.py Revert "Remove 'nodes' key from serializer for 10.0" 2016-07-19 12:42:12 +00:00
test_downgrade_fuel_9_0_1.py Add downgrade migration tests 2016-06-09 10:58:06 +00:00
test_downgrade_fuel_9_1.py Rename migrations 9.0.2 to 9.1 2016-09-02 13:08:03 +03:00
test_downgrade_fuel_10_0.py Move graph-concept-extensions migrations to 9.0.2 2016-08-24 11:15:40 +00:00
test_expression_parser.py Add exceptions hierarchy 2016-04-14 17:41:25 +03:00
test_extensions.py Extensions handler for Nailgun 2016-08-31 19:40:27 +03:00
test_fault_tolerance.py Fault tolerance for provision 2015-03-08 10:53:01 +01:00
test_graph.py Orchestrator DeploymentGraph is renamed to the GraphSolver 2016-03-17 03:25:37 +03:00
test_graph_executor_handler.py Graphs Execution RESTful API 2016-08-20 23:46:45 +03:00
test_graph_serializer.py remove zabbix from nailgun 2016-05-31 06:28:20 +00:00
test_graph_solver_tasks_validator.py Allow YAQL expressions in task's dependencies 2016-05-26 18:42:29 +03:00
test_handlers.py Split @content decorator 2016-08-22 12:20:18 +03:00
test_hugepages_distribution.py Change CPU distribution 2016-06-06 18:36:27 +03:00
test_lcm_task_serializers.py don't merge common_attrs with node data in deployment_info 2016-08-31 17:28:11 +03:00
test_lcm_transaction_serializer.py don't merge common_attrs with node data in deployment_info 2016-08-31 17:28:11 +03:00
test_legacy_tasks_adapter.py Fix pre-task-deployment tasks convertation 2016-05-20 08:04:02 +00:00
test_load_db_driver_handler.py Merge NodeAttributes model into Node model 2016-02-10 12:42:02 +02:00
test_logs_handlers.py Validate node id for log handler 2016-06-07 13:58:16 +03:00
test_logs_utils.py prepare_for_deployment was moved to network manager 2015-11-30 13:48:14 +03:00
test_middleware_utils.py HTTP requests monitoring middleware added 2014-10-17 18:13:31 +03:00
test_migration_fuel_6_1.py New VIP-related fields in the database 2016-02-02 18:16:27 +03:00
test_migration_fuel_7_0.py Fix minor comments in NetworkGroup API code request 2016-04-22 10:17:50 +00:00
test_migration_fuel_8_0.py Data model changes for Plugin NIC, BOND and Node attributes 2016-05-30 13:16:45 +03:00
test_migration_fuel_9_0.py Data model changes for Plugin NIC, BOND and Node attributes 2016-05-30 13:16:45 +03:00
test_migration_fuel_9_0_1.py Allow long error messages for nodes 2016-06-07 18:56:19 +02:00
test_migration_fuel_9_1.py Rename migrations 9.0.2 to 9.1 2016-09-02 13:08:03 +03:00
test_migration_fuel_10_0.py Move graph-concept-extensions migrations to 9.0.2 2016-08-24 11:15:40 +00:00
test_migration_plugins_cluster_attrs_use_ids_mapping.py Don't use self.env.clusters[0] in tests where possible 2016-04-26 17:53:36 +03:00
test_mutable.py Added YAML representers for Mutable objects 2016-03-18 23:18:33 +03:00
test_nailgun_keystone_auth_middleware.py Fix hacking 0.10 errors in nailgun 2015-10-08 12:01:55 +02:00
test_network_verify.py Fix Network Verification for environments with DPDK nodes 2016-04-27 12:28:55 +03:00
test_node_assignment_handler.py NodeAssignment handler should return valid json 2016-08-24 21:01:03 +00:00
test_node_attributes.py Revert "Do not call CPU&HugePages distributors" 2016-07-29 11:56:30 +00:00
test_node_attributes_validator.py Change CPU distribution 2016-06-06 18:36:27 +03:00
test_node_groups.py Don't use self.env.clusters[0] in tests where possible 2016-04-26 17:53:36 +03:00
test_node_validator.py Validate node VMs format 2016-05-19 12:05:38 +02:00
test_notification_collection_handler.py Swap deprecated oslo namespaces 2015-07-23 23:33:58 +03:00
test_notification_handler.py Swap deprecated oslo namespaces 2015-07-23 23:33:58 +03:00
test_object_plugin.py Data model changes for Plugin NIC, BOND and Node attributes 2016-05-30 13:16:45 +03:00
test_objects.py Reset error_type if problem with ip was resolved 2016-08-30 11:03:02 +00:00
test_openstack_config_handler.py node_ids parameter is interpreted correctly 2016-08-02 19:02:20 +03:00
test_orchestrator_stages.py Fixed executing plugins in pre deployment stage 2016-01-18 12:08:04 +03:00
test_plugin_adapters.py Plugins v 5.0.0 support in plugins adapters 2016-08-25 04:57:44 +03:00
test_plugins_serializers.py deployment_tasks attribute removed from plugins adapter 2016-04-13 16:56:12 +03:00
test_policies.py Add exceptions hierarchy 2016-04-14 17:41:25 +03:00
test_primary_roles_assignment.py Don't use self.env.clusters[0] in tests where possible 2016-04-26 17:53:36 +03:00
test_rbac_middleware.py Read-only mode for Fuel API was added 2016-05-25 18:39:40 +03:00
test_receiver.py Implement Transaction Manager 2016-08-19 23:41:14 +03:00
test_redeployment_scenarios.py Don't use self.env.clusters[0] in tests where possible 2016-04-26 17:53:36 +03:00
test_release_collection_handlers.py Fix hacking 0.10 errors in nailgun 2015-10-08 12:01:55 +02:00
test_release_handler.py Deployment graphs are deleted together with parent entity 2016-05-04 14:22:09 +00:00
test_release_networks_schema.py Add support for release network_metadata serialziation 2014-11-06 15:33:05 +02:00
test_release_validator.py Add exceptions hierarchy 2016-04-14 17:41:25 +03:00
test_requirements.py Check if nailgun's requirements do not conflict 2015-06-22 09:17:41 +00:00
test_restriction.py Extending components DSL model with additional predicates 2016-07-11 12:59:32 +03:00
test_reusage_admin_address.py Move network manager to extension 2016-04-11 05:33:29 -07:00
test_role_resolver.py Added adaptation of legacy tasks for task based deployment 2016-04-22 15:16:00 +03:00
test_role_validator.py Add exceptions hierarchy 2016-04-14 17:41:25 +03:00
test_rpc_acknowledge.py Message in receiverd should be requeued on deadlock 2016-05-12 10:35:00 +03:00
test_settings_config.py Urgent fix for log page 2014-12-15 17:07:58 +04:00
test_snapshot_conf.py Do not pass excessive configuration to shotgun 2016-06-10 08:57:21 +03:00
test_stages_task_serialization.py Move network serialization code to network manager extension 2016-05-12 12:40:35 +03:00
test_task.py Check role restriction also before provisioning 2016-08-19 09:39:13 +00:00
test_task_based_deployment.py Fix check for cross-referring self-dependencies 2016-03-23 13:57:48 +03:00
test_task_handler.py Added field parent_id to serialized task data 2016-07-25 07:28:21 +00:00
test_task_helpers.py Don't use self.env.clusters[0] in tests where possible 2016-04-26 17:53:36 +03:00
test_task_managers.py Do not allow to run 2 or more tasks simultaneously 2016-08-30 14:45:56 +03:00
test_tasks_templates.py Remove downloading debian-installer components 2016-04-18 10:18:20 +00:00
test_testing_utils.py Fix test test_put_handler_with_one_node 2016-02-03 14:06:02 +01:00
test_transaction_handler.py don't merge common_attrs with node data in deployment_info 2016-08-31 17:28:11 +03:00
test_transaction_object.py don't merge common_attrs with node data in deployment_info 2016-08-31 17:28:11 +03:00
test_transactions_manager.py Merge "Added option 'debug' for graph execution" 2016-09-02 11:12:32 +00:00
test_uniondict.py Add UnionDict class for lcm 2016-09-05 19:52:51 +03:00
test_urls.py Remove Mirantis-specific code from fuel-web repo 2016-02-26 13:25:17 +00:00
test_utils.py Improve validation of openstack config requests 2016-04-05 10:19:01 +00:00
test_version_handler.py Deprecate version.yaml 2015-11-17 01:05:39 +03:00
test_vmware_attributes_validator.py Don't use self.env.clusters[0] in tests where possible 2016-04-26 17:53:36 +03:00
test_yaql_ext.py Stop sharing yaql engine between child processes 2016-07-26 00:18:26 +03:00