afeb366fd3
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 |
||
---|---|---|
.. | ||
share | ||
__init__.py |