New issue 639: conftest being loaded twice (giving internal error) or not found 
depending on how pytest is called
https://bitbucket.org/hpk42/pytest/issue/639/conftest-being-loaded-twice-giving

fabiofz:

I've uploaded a project to github with the structure to reproduce the issue:

https://github.com/fabioz/check_pytest

The file: 
https://github.com/fabioz/check_pytest/blob/master/pack/tests/test_fixtures.py 
has the details.

As a resume, when I go to the tests folder and run the test_fixtures, it seems 
I can't get pytest to load the conftest file properly... either it finds it 
twice and reports an error (if I pass the full-path) or it doesn't find it at 
all if I pass a relative path to the working dir.


_______________________________________________
pytest-commit mailing list
pytest-commit@python.org
https://mail.python.org/mailman/listinfo/pytest-commit

Reply via email to