<reponame>JakobGM/WikiLinks<gh_stars>1-10
import pytest

@pytest.fixture(autouse=True)
def media_root(tmpdir, settings):
    settings.MEDIA_ROOT = tmpdir / 'media'

import pytest

@pytest.fixture(autouse=True)
def media_root(tmpdir, settings):
    settings.MEDIA_ROOT = tmpdir / 'media'