keystoneauth/keystoneauth1/tests
Eric Fried 4e4a1a89dd Make Discover.version_data accept null max_version
Make Discover.version_data a little more lenient in the JSON data it
accepts with respect to "max_version" and "version".  Previously, if the
"max_version" field was present but empty, the "version" field would be
ignored, even if populated with a proper version number.  This goes
against the intent of the API.  This change causes version_data to
ignore a blank "max_version" if "version" is populated.

This change also introduces a unit test harness for the various
permutations of version_data translating input version data to
min/max_microversion, including cases for the above.

Change-Id: I1cb4ebdd57a6eadc1a16efc0fc1ceeda640f26c2
Closes-Bug: #1703438
2017-07-11 14:14:33 -05:00
..
unit Make Discover.version_data accept null max_version 2017-07-11 14:14:33 -05:00
__init__.py Move to the keystoneauth1 namespace 2015-06-25 16:48:54 -07:00