문서 보기역링크PDF로 내보내기맨 위로 이 문서는 읽기 전용입니다. 원본을 볼 수는 있지만 바꿀 수는 없습니다. 문제가 있다고 생각하면 관리자에게 문의하세요. # conftest.py {{tag>pytest conf}} <code py> from glob import glob def refactor(string: str) -> str: return string.replace("/", ".").replace("\\", ".").replace(".py", "") pytest_plugins = [ refactor(fixture) for fixture in glob("tests/**/fixtures/*.py", recursive=True) if "__" not in fixture ] </code> open/conftest.py.txt 마지막으로 수정됨: 2021/04/12 15:38저자 127.0.0.1