Fix tests

This commit is contained in:
Gabriel Augendre 2021-03-21 15:39:18 +01:00
parent ee381b546c
commit 5c32de523a

View file

@ -55,12 +55,6 @@ def unpublished_article(author: User) -> Article:
)
@pytest.fixture(autouse=True)
def enable_compressor(settings):
settings.COMPRESS_ENABLED = True
@pytest.fixture(autouse=True, scope="session")
def collect_static():
call_command("collectstatic", "--no-input", "--clear")
call_command("compress", "--force")