[Django] #35517: Improve test coverage of shell command

14 views
Skip to first unread message

Django

unread,
Jun 10, 2024, 3:41:37 AMJun 10
to django-...@googlegroups.com
#35517: Improve test coverage of shell command
-------------------------------------+-------------------------------------
Reporter: Salvo | Owner: Salvo Polizzi
Polizzi |
Type: | Status: assigned
Cleanup/optimization |
Component: Core | Version: 5.0
(Management commands) |
Severity: Normal | Keywords: shell tests
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
We need to increase coverage for methods that run shells, e.g.
`ipython()`, `bpython()` and `python()`
--
Ticket URL: <https://code.djangoproject.com/ticket/35517>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Jun 10, 2024, 3:41:54 AMJun 10
to django-...@googlegroups.com
#35517: Improve test coverage of shell command
-------------------------------------+-------------------------------------
Reporter: Salvo Polizzi | Owner: Salvo
Type: | Polizzi
Cleanup/optimization | Status: assigned
Component: Core (Management | Version: 5.0
commands) |
Severity: Normal | Resolution:
Keywords: shell tests | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 1 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Salvo Polizzi):

* needs_better_patch: 0 => 1
* needs_tests: 0 => 1

--
Ticket URL: <https://code.djangoproject.com/ticket/35517#comment:1>

Django

unread,
Jun 11, 2024, 4:13:35 AMJun 11
to django-...@googlegroups.com
#35517: Improve test coverage of shell command
-------------------------------------+-------------------------------------
Reporter: Salvo Polizzi | Owner: Salvo
Type: | Polizzi
Cleanup/optimization | Status: assigned
Component: Core (Management | Version: 5.0
commands) |
Severity: Normal | Resolution:
Keywords: shell tests | Triage Stage:
| Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 1 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Salvo Polizzi):

* has_patch: 0 => 1

--
Ticket URL: <https://code.djangoproject.com/ticket/35517#comment:2>

Django

unread,
Jun 12, 2024, 3:52:36 AMJun 12
to django-...@googlegroups.com
#35517: Improve test coverage of shell command
-------------------------------------+-------------------------------------
Reporter: Salvo Polizzi | Owner: Salvo
Type: | Polizzi
Cleanup/optimization | Status: assigned
Component: Core (Management | Version: 5.0
commands) |
Severity: Normal | Resolution:
Keywords: shell tests | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 1 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Sarah Boyce):

* cc: Adam Johnson (added)
* stage: Unreviewed => Accepted

--
Ticket URL: <https://code.djangoproject.com/ticket/35517#comment:3>

Django

unread,
Jun 12, 2024, 4:31:27 AMJun 12
to django-...@googlegroups.com
#35517: Improve test coverage of shell command
-------------------------------------+-------------------------------------
Reporter: Salvo Polizzi | Owner: Salvo
Type: | Polizzi
Cleanup/optimization | Status: assigned
Component: Core (Management | Version: 5.0
commands) |
Severity: Normal | Resolution:
Keywords: shell tests | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 1 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Description changed by Adam Johnson:

Old description:

> We need to increase coverage for methods that run shells, e.g.
> `ipython()`, `bpython()` and `python()`

New description:

We need to increase coverage for methods that run shells, e.g.
`ipython()`, `bpython()` and `python()`, in preparation for #35515.

--
--
Ticket URL: <https://code.djangoproject.com/ticket/35517#comment:4>

Django

unread,
Jun 12, 2024, 4:36:15 AMJun 12
to django-...@googlegroups.com
#35517: Improve test coverage of shell command
-------------------------------------+-------------------------------------
Reporter: Salvo Polizzi | Owner: Salvo
Type: | Polizzi
Cleanup/optimization | Status: assigned
Component: Core (Management | Version: dev
commands) |
Severity: Normal | Resolution:
Keywords: shell tests | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Adam Johnson):

* needs_tests: 1 => 0
* version: 5.0 => dev

--
Ticket URL: <https://code.djangoproject.com/ticket/35517#comment:5>

Django

unread,
Jun 26, 2024, 6:07:41 AM (3 days ago) Jun 26
to django-...@googlegroups.com
#35517: Improve test coverage of shell command
-------------------------------------+-------------------------------------
Reporter: Salvo Polizzi | Owner: Salvo
Type: | Polizzi
Cleanup/optimization | Status: assigned
Component: Core (Management | Version: dev
commands) |
Severity: Normal | Resolution:
Keywords: shell tests | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Adam Johnson):

* needs_better_patch: 1 => 0
* stage: Accepted => Ready for checkin

--
Ticket URL: <https://code.djangoproject.com/ticket/35517#comment:6>

Django

unread,
Jun 27, 2024, 10:43:07 AM (2 days ago) Jun 27
to django-...@googlegroups.com
#35517: Improve test coverage of shell command
-------------------------------------+-------------------------------------
Reporter: Salvo Polizzi | Owner: Salvo
Type: | Polizzi
Cleanup/optimization | Status: closed
Component: Core (Management | Version: dev
commands) |
Severity: Normal | Resolution: fixed
Keywords: shell tests | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Sarah Boyce <42296566+sarahboyce@…>):

* resolution: => fixed
* status: assigned => closed

Comment:

In [changeset:"dfac15d57048432fd8ad3dd189276d1ef304fc4c" dfac15d5]:
{{{#!CommitTicketReference repository=""
revision="dfac15d57048432fd8ad3dd189276d1ef304fc4c"
Fixed #35517, Refs #35515 -- Improved test coverage of shell command.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/35517#comment:7>
Reply all
Reply to author
Forward
0 new messages