목록pytest (1)
without haste but without rest

Issue unittest 모듈은 잘 작동하는데, pytest가 커스텀 라이브러리를 인식하지 못한다. Solved tests 디렉토리 내에 __init__.py가 없으면 pytest가 인식을 못하는듯.. ImportError ModuleNotFoundError in pytest · Issue #6370 · pytest-dev/pytest Running python 3.7.3 on mac using pytest My folder structure/files is src/tests/pn/tests/functional/test_something.py src/tests/pn/tests/functional/config.py src/tests/pn/lib/util.py PYTHONPATH is ... github...
ProgrammingLanguage/Python
2022. 4. 15. 18:14