def METHOD_NAME(cls):
    cls.failed = False
    shutil.copytree(os.path.join(certsPath, "ca"), testCAPath)
    # Parse
    lines = []
    with open(testCAConfigFile) as caCFG:
        for line in caCFG:
            if re.findall("=", re.sub(r"#.*", "", line)):
                # Ignore comments
                field = re.sub(r"#.*", "", line).replace(" ", "").rstrip().split("=")[0]
                # Put the right dir
                line = f"dir = {testCAPath} #PUT THE RIGHT DIR HERE!\n" if field == "dir" else line
            lines.append(line)
    # Write modified conf. file
    with open(testCAConfigFile, "w") as caCFG:
        caCFG.writelines(lines)
    # Result
    status, output = commands.getstatusoutput(f"ls -al {testCAPath}")
    if status:
        gLogger.error(output)
        exit()
    gLogger.debug("Test path:\n", output)