-
Notifications
You must be signed in to change notification settings - Fork 181
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
Move pytest fixtures to conftest.py #1030
Comments
@LucyJimenez @datapythonista i will work on this |
This was referenced Mar 3, 2022
datapythonista
changed the title
Define pytest fixtures in one file.
Move pytest fixtures to conftest.py
Mar 6, 2022
This was referenced Mar 7, 2022
Most of the fixtures have been moved to the conftest.py file and 3 files with 4 fixtures are pending,i have opened PRs for them i will be editing this comment once merged
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When fixtures are not defined in the standard
conftest.py
and are defined elsewhere in other files,once imported for reference they are not recognized.
Flake8 example error :
F401 '.tools.example_results' imported but unused
What is expected is to move all fixtures to the
conftest.py
file, this will not require the unnecessary imports for fixtures hence no errors of not found fixtures in the CI as shown below.ie.
fixture 'example_results' not found
The text was updated successfully, but these errors were encountered: