deb-manila/manila_tempest_tests/services
Valeriy Ponomaryov afeb366fd3 Fix Tempest microversion comparison approach
Manila microversions have following template:

x.y

where 'x' and 'y' both digits.

And now tempest transforms 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

So, create new file 'manila_tempest_tests/utils.py' and place there
old and new functions that serve all microversion actions. In addition,
port another existing utility function called 'rand_ip'.

Change-Id: I88bf2cb51fd8de1bc89bf169bda7a05ca5a0b8ab
Closes-Bug: #1518996
2015-12-16 18:07:57 +02:00
..
share Fix Tempest microversion comparison approach 2015-12-16 18:07:57 +02:00
__init__.py Use Tempest plugin interface 2015-09-05 00:36:33 +00:00