#139 tests: Migrate tests helpers to Python3
Closed by slev. Opened by slev.
slev/certmonger python3_test_helpers  into  master

Download 139.patch

As it is commonly known, Python2 reaches its EOL in 2020.
For this reason, many distributions massively drop Python2
packages.

Certmonger utilizes by itself only python-dbus (among standard modules) and only at
build time for testing. With some help of 2to3 utility
several tests helpers have been migrated to Python3:
- converts the print statement to the print() function (reindented)
- remove u"..." literals
- remove Integer literals l and L
- change shebang to python3

TODO: migrate examples of helpers.

Fixes: https://pagure.io/certmonger/issue/138

Close PR as duplicate (not officially released yet).

Pull-Request has been closed by slev

Metadata