diff options
Diffstat (limited to 'django')
| -rw-r--r-- | django/contrib/formtools/tests/wizard/wizardtests/forms.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/django/contrib/formtools/tests/wizard/wizardtests/forms.py b/django/contrib/formtools/tests/wizard/wizardtests/forms.py index bbc96c3453..9013e89aef 100644 --- a/django/contrib/formtools/tests/wizard/wizardtests/forms.py +++ b/django/contrib/formtools/tests/wizard/wizardtests/forms.py @@ -1,3 +1,4 @@ +import os import tempfile from django import forms @@ -10,7 +11,7 @@ from django.contrib.auth.models import User from django.contrib.formtools.wizard.views import WizardView -temp_storage_location = tempfile.mkdtemp() +temp_storage_location = tempfile.mkdtemp(dir=os.environ.get('DJANGO_TEST_TEMP_DIR')) temp_storage = FileSystemStorage(location=temp_storage_location) class Page1(forms.Form): |
