cis-benchmarks-audit icon indicating copy to clipboard operation
cis-benchmarks-audit copied to clipboard

No module named 'tests'

Open insetta opened this issue 2 years ago • 3 comments

[root@RED-HAT-8]# ./cis_audit.py --level 2
Traceback (most recent call last):
  File "./cis_audit.py", line 39, in <module>
    from tests.integration import (
ModuleNotFoundError: No module named 'tests'

insetta avatar May 31 '23 17:05 insetta

Red Hat 8.8

insetta avatar May 31 '23 17:05 insetta

Similar issue for Ubuntu 22.04

MatthewPugliese avatar Jan 23 '24 11:01 MatthewPugliese

Comment out lines 39-41 and it should work. Worked for me on CentOS7

sennjacob avatar Feb 15 '24 16:02 sennjacob