cookiecutter-django/{{cookiecutter.project_slug}}/src/conftest.py

8 lines
208 B
Python
Raw Permalink Normal View History

2022-10-28 19:38:57 +02:00
import pytest
from django.core.management import call_command
@pytest.fixture(scope="session", autouse=True)
def _collectstatic():
2022-10-28 19:38:57 +02:00
call_command("collectstatic", "--clear", "--noinput", "--verbosity=0")