openstack-python-openstackc.../openstackclient/tests/unit
Stephen Finucane bf834f6d75 compute: Fix 'hypervisor show -f yaml' output
The 'cpu_info' field returned by the 'os-hypervisors' API is an object
and should be formatted as such.  However, this is complicated by the
fact that the object in this field is stringified until microversion
2.28 and is only returned as an actual object on later microversions.
Handle the conversion from the string for older microversions and
display things correctly for all releases.

Change-Id: Ide31466cbb9e89c96d6bd542fe039ab5ed1fac1f
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
2021-01-06 12:02:25 +00:00
..
api Make container list --all work 2020-05-16 14:40:28 +00:00
common Add support '--progress' option for 'image create' 2021-01-04 17:25:34 +00:00
compute compute: Fix 'hypervisor show -f yaml' output 2021-01-06 12:02:25 +00:00
identity Merge "Add name and enabled param in ListDomain parser" 2020-12-22 13:30:59 +00:00
image Merge "image: Unset properties rather than setting to None" 2021-01-06 11:16:25 +00:00
integ Remove os-client-config references 2020-06-08 16:20:28 -05:00
network Make use of comparable 'FormattableColumn' subclasses 2020-12-09 15:17:25 +00:00
object Remove usage of six 2020-10-07 02:15:25 +00:00
volume Make use of comparable 'FormattableColumn' subclasses 2020-12-09 15:17:25 +00:00
__init__.py move unit tests to new "unit" test module 2016-09-08 15:19:50 -07:00
fakes.py Remove usage of six 2020-10-07 02:15:25 +00:00
test_shell.py Remove oslo.utils 2020-10-12 17:29:57 +01:00
utils.py Make use of comparable 'FormattableColumn' subclasses 2020-12-09 15:17:25 +00:00