tests: fix pep8 for RHEL