fast-xylophone-56613
03/27/2025, 11:08 AM$ pants run service/test_appname/runtests.py
Found 0 test(s).
System check identified no issues (1 silenced).
----------------------------------------------------------------------
Ran 0 tests in 0.000s
OK
If I run this same script with just python (using a venv I made earlier), it works fine.
I've tried putting tests as a dependency in BUILD, though I'm not sure if this is right or not
python_sources(
name="lib",
dependencies=[
'//:reqs#django-…',
# …
'src/appname/core/apps.py',
'src/appname/core/tests',
],
overrides={
"runtests.py": {
"dependencies": [":lib"],
},
},
)mammoth-truck-89764
03/27/2025, 3:11 PM