Re: [Django] #35343: Found 0 test(s) when ran from parent folder

10 views
Skip to first unread message

Django

unread,
Mar 30, 2024, 9:09:40 AM3/30/24
to django-...@googlegroups.com
#35343: Found 0 test(s) when ran from parent folder
-----------------------------------+--------------------------------------
Reporter: Al Mahdi | Owner: nobody
Type: Bug | Status: closed
Component: Testing framework | Version: 5.0
Severity: Normal | Resolution: invalid
Keywords: test cli | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------------+--------------------------------------
Description changed by Al Mahdi:

Old description:

> Running this in the project folder finds all tests
> {{{
> python manage.py test
> }}}
>
> But running this from the parent folder doesn't find any test
>
> {{{
> python example/manage.py test
> }}}

New description:

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
}}}

--
--
Ticket URL: <https://code.djangoproject.com/ticket/35343#comment:4>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Mar 30, 2024, 9:11:37 AM3/30/24
to django-...@googlegroups.com
#35343: Found 0 test(s) when ran from parent folder
-----------------------------------+--------------------------------------
Reporter: Al Mahdi | Owner: nobody
Type: Bug | Status: new
Component: Testing framework | Version: 5.0
Severity: Normal | Resolution:
Keywords: test cli | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------------+--------------------------------------
Changes (by Al Mahdi):

* resolution: invalid =>
* status: closed => new

Comment:

Replying to [comment:2 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.
--
Ticket URL: <https://code.djangoproject.com/ticket/35343#comment:5>

Django

unread,
Apr 1, 2024, 7:19:09 AM4/1/24
to django-...@googlegroups.com
#35343: Found 0 test(s) when ran from parent folder
-----------------------------------+--------------------------------------
Reporter: Al Mahdi | Owner: nobody
Type: Bug | Status: closed
Component: Testing framework | Version: 5.0
Severity: Normal | Resolution: invalid
Keywords: test cli | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------------+--------------------------------------
Changes (by David Sanders):

* resolution: => invalid
* status: new => closed

--
Ticket URL: <https://code.djangoproject.com/ticket/35343#comment:6>
Reply all
Reply to author
Forward
0 new messages