openstacksdk/openstack/tests/unit/cloud
Monty Taylor 5d7e149c1a
Properly munch for resource sub-dicts
In the shade layer, we expect object notation to work for sub-dicts.
When we're using underlying resource objects and translating them to
munch then putting them through normalize (Which is temporary during
transition) we're losing the munchified sub-dicts.

Update to_dict in openstack/resource to be able to provide munches
instead of dicts so that the recursive transform is complete.

Add a test for server that makes sure we're getting what we need.

A followup patch that should come that sets original_names to false in
the to_munch call, which will need an update to the normalize function
to deal with new incoming name.

Change-Id: I3df806fe0db7ddf8d93546d64780fc979f38e78f
2018-12-19 20:05:01 +00:00
..
__init__.py Merge tox, tests and other support files 2017-10-04 14:51:08 -05:00
test__utils.py Fix for passing dict for get_* methods 2018-07-05 14:36:01 -05:00
test_aggregate.py Update all test base classes to use base.TestCase 2018-02-16 23:19:41 -06:00
test_availability_zones.py Update all test base classes to use base.TestCase 2018-02-16 23:19:41 -06:00
test_baremetal_node.py Merge "Convert inspect_machine to use the baremetal proxy" 2018-10-17 00:18:02 +00:00
test_baremetal_ports.py Switch bare metal NIC actions in OpenStackCloud to baremetal Proxy calls 2018-10-15 17:50:56 +02:00
test_caching.py Filter ports in list_ports when batching is in effect 2018-10-30 09:35:30 -05:00
test_cluster_templates.py Improve Magnum cluster templates functions 2018-06-26 09:52:39 -05:00
test_clustering.py Move clustering additions from shade directories 2018-06-25 10:57:33 -05:00
test_coe_clusters.py Fix Magnum cluster update 2018-07-10 14:17:03 +12:00
test_coe_clusters_certificate.py Add Magnum /certificates support 2018-07-11 19:00:50 +12:00
test_create_server.py Support v4-fixed-ip and v6-fixed-ip in create_server 2018-10-18 10:43:08 -05:00
test_create_volume_snapshot.py Update all test base classes to use base.TestCase 2018-02-16 23:19:41 -06:00
test_delete_server.py Update all test base classes to use base.TestCase 2018-02-16 23:19:41 -06:00
test_delete_volume_snapshot.py Update all test base classes to use base.TestCase 2018-02-16 23:19:41 -06:00
test_domain_params.py Convert domain params tests to requests_mock 2018-06-25 19:27:34 +00:00
test_domains.py Add 409 ConflictException 2018-03-22 22:41:52 +13:00
test_endpoints.py Update all test base classes to use base.TestCase 2018-02-16 23:19:41 -06:00
test_flavors.py Update all test base classes to use base.TestCase 2018-02-16 23:19:41 -06:00
test_floating_ip_common.py Make it clear that OpenStackCloud is a mixin 2018-10-15 13:21:57 -05:00
test_floating_ip_neutron.py Make delete_unattached_floating_ips return a count 2018-10-30 16:06:34 +11:00
test_floating_ip_nova.py Make delete_unattached_floating_ips return a count 2018-10-30 16:06:34 +11:00
test_floating_ip_pool.py Fix H103 Apache license header check 2018-05-09 16:54:41 +00:00
test_fwaas.py openstackcloud.py: Implement FWaaS wrapper methods. 2018-10-12 11:32:23 +00:00
test_groups.py Update all test base classes to use base.TestCase 2018-02-16 23:19:41 -06:00
test_identity_roles.py Update all test base classes to use base.TestCase 2018-02-16 23:19:41 -06:00
test_image.py Don't pass disk_format or container_format to image task upload 2018-10-26 08:18:44 -05:00
test_image_snapshot.py Update all test base classes to use base.TestCase 2018-02-16 23:19:41 -06:00
test_inventory.py Merge Connection and OpenStackCloud 2018-01-31 11:25:21 -06:00
test_keypair.py Fix H103 Apache license header check 2018-05-09 16:54:41 +00:00
test_limits.py Update all test base classes to use base.TestCase 2018-02-16 23:19:41 -06:00
test_magnum_services.py Update all test base classes to use base.TestCase 2018-02-16 23:19:41 -06:00
test_meta.py Fix latest flake8 issues 2018-10-29 16:44:05 -05:00
test_network.py python-shade expose MTU setting. 2018-07-30 14:43:07 -05:00
test_normalize.py Properly munch for resource sub-dicts 2018-12-19 20:05:01 +00:00
test_object.py object_store: exposes the prefix parameter 2018-12-01 17:02:42 -05:00
test_operator.py Convert image_client mocks in test_shade_operator 2018-06-25 19:27:45 +00:00
test_operator_noauth.py Use discovery instead of config to create proxies 2018-10-06 07:44:29 -05:00
test_port.py Filter ports in list_ports when batching is in effect 2018-10-30 09:35:30 -05:00
test_project.py Update all test base classes to use base.TestCase 2018-02-16 23:19:41 -06:00
test_qos_bandwidth_limit_rule.py Fix H103 Apache license header check 2018-05-09 16:54:41 +00:00
test_qos_dscp_marking_rule.py Fix H103 Apache license header check 2018-05-09 16:54:41 +00:00
test_qos_minimum_bandwidth_rule.py Fix H103 Apache license header check 2018-05-09 16:54:41 +00:00
test_qos_policy.py Fix H103 Apache license header check 2018-05-09 16:54:41 +00:00
test_qos_rule_type.py Fix H103 Apache license header check 2018-05-09 16:54:41 +00:00
test_quotas.py Update all test base classes to use base.TestCase 2018-02-16 23:19:41 -06:00
test_rebuild_server.py Update all test base classes to use base.TestCase 2018-02-16 23:19:41 -06:00
test_recordset.py Fix DNS Recordset CRUD 2018-04-14 09:49:32 +01:00
test_role_assignment.py Implementing solution for 2002563 issue from story board 2018-07-02 22:19:29 +02:00
test_router.py Allow explicitly setting enable_snat to either value 2018-05-18 18:33:30 +02:00
test_security_groups.py Update all test base classes to use base.TestCase 2018-02-16 23:19:41 -06:00
test_server_console.py Update all test base classes to use base.TestCase 2018-02-16 23:19:41 -06:00
test_server_delete_metadata.py Update all test base classes to use base.TestCase 2018-02-16 23:19:41 -06:00
test_server_group.py Update all test base classes to use base.TestCase 2018-02-16 23:19:41 -06:00
test_server_set_metadata.py Update all test base classes to use base.TestCase 2018-02-16 23:19:41 -06:00
test_services.py Update all test base classes to use base.TestCase 2018-02-16 23:19:41 -06:00
test_shade.py Make it clear that OpenStackCloud is a mixin 2018-10-15 13:21:57 -05:00
test_shade_operator.py Update all test base classes to use base.TestCase 2018-02-16 23:19:41 -06:00
test_stack.py Allow not resolving outputs on get stacks 2018-03-08 22:22:31 +00:00
test_subnet.py Fix H103 Apache license header check 2018-05-09 16:54:41 +00:00
test_task_manager.py Test python2 with py27 2018-11-06 08:12:04 -06:00
test_update_server.py Update all test base classes to use base.TestCase 2018-02-16 23:19:41 -06:00
test_usage.py Update all test base classes to use base.TestCase 2018-02-16 23:19:41 -06:00
test_users.py Update all test base classes to use base.TestCase 2018-02-16 23:19:41 -06:00
test_volume.py Update all test base classes to use base.TestCase 2018-02-16 23:19:41 -06:00
test_volume_access.py Update all test base classes to use base.TestCase 2018-02-16 23:19:41 -06:00
test_volume_backups.py Update all test base classes to use base.TestCase 2018-02-16 23:19:41 -06:00
test_zone.py Update all test base classes to use base.TestCase 2018-02-16 23:19:41 -06:00