def METHOD_NAME(settings):
    """Create folder for test media/file uploads."""
    settings.MEDIA_ROOT = "test_media"
    settings.MEDIA_URL = ""
    yield
    shutil.rmtree("test_media", ignore_errors=True)