  from django.http import HttpRequest
  from django.conf import settings
  from django.contrib.auth.models import User
  
  
  def get_request():
      request = HttpRequest()
 
</s> remove     Please remember to take care of removing old files as the
    :class:`WizardView` won't remove any files, whether the wizard gets
    finished correctly or not.
 </s> add     Please remember to take care of removing old temporary files, as the
    :class:`WizardView` will only remove these files if the wizard finishes
    correctly.
from django.core.files.storage import FileSystemStorage
from django.core.files.uploadedfile import SimpleUploadedFile


temp_storage_location = tempfile.mkdtemp(dir=os.environ.get('DJANGO_TEST_TEMP_DIR'))
temp_storage = FileSystemStorage(location=temp_storage_location)
  from django.http import HttpRequest
  from django.conf import settings
  from django.contrib.auth.models import User
from django.core.files.storage import FileSystemStorage
from django.core.files.uploadedfile import SimpleUploadedFile


temp_storage_location = tempfile.mkdtemp(dir=os.environ.get('DJANGO_TEST_TEMP_DIR'))
temp_storage = FileSystemStorage(location=temp_storage_location)
  
  
  def get_request():
      request = HttpRequest()
keep keep add keep keep keep keep
 Fixed #22299 -- Cleanup wizard temp files when possible.

Thanks to @erikr for the review. 
django/contrib/formtools/tests/wizard/storage.py