Files
python-manilaclient/manilaclient/tests
Valeriy Ponomaryov bdf2045d95 Fix microversion comparison approach in functional tests
Manila microversions have following template:

x.y

where 'x' and 'y' both digits.

And now manilaclient functional tests transform string 'x.y' to float,
but it is incorrect thing to do because float assumes that each
left value is bigger than right one. And it is not suitable
for microversion comparisons.

Examples:

Microversions true conditions:
2.9 < 2.10
2.9 < 2.81

Float true conditions:
2.9 > 2.10
2.9 > 2.81

Change-Id: Ibb20e394cefdab82f7be946ce710a6681224051d
Closes-bug: #1518996
2015-12-15 13:44:59 +02:00
..