rhythmic-morning-87313
04/29/2022, 2:46 PMpython_test_utils
and how does it interact with python_tests
?refined-addition-53644
04/29/2022, 2:47 PMconftest.py
https://www.pantsbuild.org/docs/reference-python_test_utilsrhythmic-morning-87313
04/29/2022, 2:47 PMrhythmic-morning-87313
04/29/2022, 2:47 PMbitter-ability-32190
04/29/2022, 2:47 PMconftests
are funny because they aren't your natural python sources, but they also aren't tests themselves... therefore they gettheir own special targetbitter-ability-32190
04/29/2022, 2:48 PMis it possible to add other utility modules under the tests directory to be used with tests?Anything is possible. Pants is just built with some conventions in mind, but you are welcome to override/amend the defaults as you need to
rhythmic-morning-87313
04/29/2022, 2:49 PMrhythmic-morning-87313
04/29/2022, 2:50 PMrhythmic-morning-87313
04/29/2022, 2:50 PMbitter-ability-32190
04/29/2022, 2:50 PMrhythmic-morning-87313
04/29/2022, 2:50 PMrhythmic-morning-87313
04/29/2022, 2:51 PM//:reqs
dependency in python_sources
and redis/*.py
with !redis/test_*.py
to specify test utility modulesrhythmic-morning-87313
04/29/2022, 2:54 PMrhythmic-morning-87313
04/29/2022, 2:54 PMrefined-addition-53644
04/29/2022, 2:56 PMrhythmic-morning-87313
04/29/2022, 2:57 PMpython_tests
relies on python_test_utils
in the same BUILD filerhythmic-morning-87313
04/29/2022, 2:57 PM