Browse Source

tests: Include testutils in test paths (#39386)

This allows asserts in testutils to work as expected
Dan Fuller 2 years ago
parent
commit
4d1a649ea9
1 changed files with 1 additions and 0 deletions
  1. 1 0
      pyproject.toml

+ 1 - 0
pyproject.toml

@@ -15,6 +15,7 @@ known_first_party = "sentry"
 skip = "migrations"
 
 [tool.pytest.ini_options]
+python_files = "test_*.py sentry/testutils/*"
 # note: When updating the traceback format, make sure to update .github/pytest.json
 # We don't use the celery pytest plugin.
 addopts = "-ra --tb=short --strict-markers -p no:celery"