Opened 20 months ago
Closed 20 months ago
#35343 closed Bug (invalid)
Found 0 test(s) when ran from parent folder
| Reported by: | Al Mahdi | Owned by: | nobody |
|---|---|---|---|
| Component: | Testing framework | Version: | 5.0 |
| Severity: | Normal | Keywords: | test cli |
| Cc: | Al Mahdi | Triage Stage: | Unreviewed |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description (last modified by )
Running this in the project folder finds all tests in app/tests.py files
python manage.py test
But running this from the parent folder doesn't find any test
python example/manage.py test
Change History (6)
comment:1 by , 20 months ago
| Description: | modified (diff) |
|---|
follow-up: 5 comment:2 by , 20 months ago
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |
comment:3 by , 20 months ago
| Summary: | Found 0 test(s) from outside of the project → Found 0 test(s) when ran from parent folder |
|---|
comment:4 by , 20 months ago
| Description: | modified (diff) |
|---|
comment:5 by , 20 months ago
| Resolution: | invalid |
|---|---|
| Status: | closed → new |
Replying to David Sanders:
How come it is not a bug in Django itself.
Maybe the summery and description wasn't clear enough. I have updated them.
Please review it again.
comment:6 by , 20 months ago
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
If you need assistance please seek help from a friendly community member from either the forum or Discord: https://www.djangoproject.com/community/
The issue tracker is for reporting bugs with Django itself. User issues related to Python usage fall outside this unfortunately 🤷♂️