-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pytest_report_header
not working based on location of conftest.py
#2257
Comments
Probably somewhere close to this section of code |
Thanks for the report, I think |
@nicoddemus that sounds about right from what i'm experiencing. This part has me confused though. |
Hmmm good point, that might be something particular to how Regardless, perhaps you would like to open a quick PR to add the note to |
I have no experience w |
On second thought, I'm going to push to just move our |
Thanks for submitting an issue!
Here's a quick checklist in what to include:
pip list
of the virtual environment you are usingEnvironment
Issue seen on all python versions tested (
PY27
,PY33
-PY37
)Issue seen on both Windows(
AppVeyor
) and Linux(Travis
)Details
Trying to add a custom header information per the docs
Minimal, Complete, and Verifiable example
this will help us understand the issue.
If tests and
conftest.py
is located on./src/tests/conftest.py
then the custom information isn't added to the report.If tests and
conftest.py
is located on./tests/conftest.py
then the custom information is added to the report.If tests and
conftest.py
is located on./test/conftest.py
then the custom information is added to the report.If tests and
conftest.py
is located on./foo/conftest.py
then the custom information isn't added to the report.I've tried setting
testpaths
tosrc/tests
andsrc
but neither worked.The text was updated successfully, but these errors were encountered: