conftest.py 419 B

123456789
  1. # tests directory-specific settings - this file is run automatically by pytest before any tests are run
  2. import sys
  3. from os.path import abspath, dirname, join
  4. # allow having multiple repository checkouts and not needing to remember to rerun
  5. # 'pip install -e .[dev]' when switching between checkouts and running tests.
  6. git_repo_path = abspath(join(dirname(dirname(__file__)), "src"))
  7. sys.path.insert(1, git_repo_path)