Skip to content

Move adding --internet-tests option back to conftest.py #685

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

Merged
merged 2 commits into from
Jun 19, 2019

Conversation

ivirshup
Copy link
Member

pytest_addoption and pytest_collection_modifyitems have to be defined where pytest gets called from, otherwise they don't work.

@flying-sheep, I saw you had changed this in d979267. Was there a functional reason you moved these things, or was it aesthetic?

It needs to be where `pytest` gets called from, otherwise it doesn't work.
@flying-sheep
Copy link
Member

Yes, sorry, I wasn’t aware of this. Please add a small comment explaining this.

@ivirshup
Copy link
Member Author

Added. Do you think we should keep multiple conftest.py files, or have it all in one place?

@flying-sheep flying-sheep merged commit 22fff7d into scverse:master Jun 19, 2019
@flying-sheep
Copy link
Member

multiple are fine, I like having the test setup in the tests directory

awnimo pushed a commit to dpeerlab/scanpy that referenced this pull request Dec 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants