Skip to content

Only run tests in the tests/ folder to avoid running venv tests

Jeff May requested to merge jeff/ignore-venv into dev

@DSASanFrancisco/portal-members

SUMMARY

If you run the code outside of docker and you are using Python 3's venv module, then you will likely run into the issue where make test will run all the unit tests of your installed packages. This change forces 2 things:

  1. Avoid running tests in the venv directory (stored in the current directory by default)
  2. Require us to put all tests into the tests/ directory

Merge request reports