openstacksdk/openstack/tests
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
..
ansible Add more options to enable ansible testing feature 2018-08-09 10:53:59 +08:00
functional Merge "block_storage.backup func tests to use configurable timeout" 2018-12-10 16:48:21 +00:00
unit Properly munch for resource sub-dicts 2018-12-19 20:05:01 +00:00
__init__.py Sync hacking requirement with global requirements 2014-06-11 11:00:42 -07:00
base.py Restore timeout_scaling_factor 2018-09-25 14:05:23 -05:00
fakes.py Fix latest flake8 issues 2018-10-29 16:44:05 -05:00