#35689: `LabelCommand`: `label` does not affect the `missing_args_message`
-------------------------------------+-------------------------------------
     Reporter:  Kamil PaduszyƄski    |                    Owner:  (none)
         Type:  Bug                  |                   Status:  new
    Component:  Core (Management     |                  Version:  5.1
  commands)                          |
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Sarah Boyce):

 * stage:  Unreviewed => Accepted

Comment:

 Thank you!
 Replicated - example failing test
 {{{#!diff
 --- a/tests/staticfiles_tests/test_management.py
 +++ b/tests/staticfiles_tests/test_management.py
 @@ -124,6 +124,11 @@ class TestFindStatic(TestDefaults,
 CollectionTestCase):
              searched_locations,
          )

 +    def test_missing_args_message(self):
 +        msg = "Enter at least one staticfile."
 +        with self.assertRaisesMessage(CommandError, msg):
 +            call_command("findstatic")
 +
 }}}

 Would you like to submit a PR?
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35689#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/0107019169677fd9-abff79b5-418c-42b5-8c46-c8e2439a0173-000000%40eu-central-1.amazonses.com.

Reply via email to