mirror of
https://github.com/django/django.git
synced 2025-11-25 05:04:26 +00:00
Fixed #35689 -- Handled custom labels in LabelCommand.missing_args_message.
This commit is contained in:
parent
47b921391f
commit
f72bbd4480
3 changed files with 27 additions and 1 deletions
|
|
@ -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")
|
||||
|
||||
|
||||
class TestConfiguration(StaticFilesTestCase):
|
||||
def test_location_empty(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue