#33925: Testing tools Management Commands example fails
-------------------------------+--------------------------------------
Reporter: Eido Askayo | Owner: nobody
Type: Bug | Status: closed
Component: Documentation | Version: 4.0
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Comment (by Eido Askayo):
Replying to [comment:1 Mariusz Felisiak]:
> Thanks for this ticket, however this is only a stub test and doesn't
contain a source of `closepoll` command, it also doesn't refer to the
implementation from [https://docs.djangoproject.com/en/stable/howto
/custom-management-commands/#module-django.core.management How-to].
>
> This section is intended to show that the `call_command()` function is
useful for testing management commands. We shouldn't complicate it with
the ORM calls and extra arguments.
Thank you for your consideration.
--
Ticket URL: <https://code.djangoproject.com/ticket/33925#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/01070182e353f4db-ab9e97a0-d880-4b61-8078-a0fc8f75fa24-000000%40eu-central-1.amazonses.com.