eager-dress-66405
08/23/2021, 6:05 PM[pytest]
pytest_plugins.add = [
"pytest-django",
in my pants.toml
all the non django tests complain about not finding django settingshundreds-father-404
08/23/2021, 6:09 PMpython_tests(dependencies=["3rdparty/python:pytest-django"])
If that's getting too tedious, you could add a lightweight macro `django_tests`: https://www.pantsbuild.org/docs/macros. With the downside of a new symbol / some indirectioneager-dress-66405
08/23/2021, 6:45 PMpyproject.toml
file. Thanks~