MCPcopy
hub / github.com/django/django / run_collectstatic

Method run_collectstatic

tests/staticfiles_tests/cases.py:85–92  ·  view source on GitHub ↗
(self, *, verbosity=0, **kwargs)

Source from the content-addressed store, hash-verified

83 return tempfile.mkdtemp()
84
85 def run_collectstatic(self, *, verbosity=0, **kwargs):
86 call_command(
87 "collectstatic",
88 interactive=False,
89 verbosity=verbosity,
90 ignore_patterns=["*.ignoreme"],
91 **kwargs,
92 )
93
94 def _get_file(self, filepath):
95 assert filepath, "filepath is empty."

Callers 1

setUpMethod · 0.95

Calls 1

call_commandFunction · 0.90

Tested by

no test coverage detected