validations-libs unit tests no longer support py27
Bug #1956751 reported by
mathieu bultel
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
New
|
Undecided
|
mathieu bultel |
Bug Description
For old release like train on centos7 validations-libs unit test no longer support python 2.7
There is few adjustment to do in the tests to make it work again.
To post a comment you must log in.
For example configparser should be imported via six.moves: /ConfigParser/ ' validations_ libs/utils. py /ConfigParser/ ' validations_ libs/tests/ test_utils. py
sed -i 's/configparser
sed -i 's/configparser