charasheet/src/conftest.py

8 lines
207 B
Python
Raw Normal View History

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