mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #35689 -- Handled custom labels in LabelCommand.missing_args_message.
This commit is contained in:
committed by
Sarah Boyce
parent
47b921391f
commit
f72bbd4480
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user