#33925: Testing tools Management Commands example fails
-------------------------------+--------------------------------------
Reporter: Eido95 | 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
-------------------------------+--------------------------------------
Changes (by Mariusz Felisiak):
* status: new => closed
* resolution: => invalid
Comment:
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.
--
Ticket URL: <https://code.djangoproject.com/ticket/33925#comment:1>
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/01070182a0555ded-8611e6d4-72f5-4c7b-9faa-56251b3ad1e9-000000%40eu-central-1.amazonses.com.