diff options
| author | Alex Gaynor <alex.gaynor@gmail.com> | 2013-10-31 08:42:28 -0700 |
|---|---|---|
| committer | Alex Gaynor <alex.gaynor@gmail.com> | 2013-10-31 08:42:28 -0700 |
| commit | 726ded5708e4e8767e69a6f6f6a039e75667ce03 (patch) | |
| tree | f692a4abede11f50830f6935c086676f3f1db778 /django/contrib/formtools/tests/tests.py | |
| parent | a023a84c060eaaa4cf520c33d9c73adab7af3d30 (diff) | |
Started attackign the next flake8 violation
Diffstat (limited to 'django/contrib/formtools/tests/tests.py')
| -rw-r--r-- | django/contrib/formtools/tests/tests.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/django/contrib/formtools/tests/tests.py b/django/contrib/formtools/tests/tests.py index e15a310629..84b0c7e2d0 100644 --- a/django/contrib/formtools/tests/tests.py +++ b/django/contrib/formtools/tests/tests.py @@ -19,6 +19,7 @@ from django.contrib.formtools.tests.forms import ( success_string = "Done was called!" success_string_encoded = success_string.encode() + class TestFormPreview(preview.FormPreview): def get_context(self, request, form): context = super(TestFormPreview, self).get_context(request, form) @@ -31,6 +32,7 @@ class TestFormPreview(preview.FormPreview): def done(self, request, cleaned_data): return http.HttpResponse(success_string) + @override_settings( TEMPLATE_DIRS=( os.path.join(os.path.dirname(upath(__file__)), 'templates'), |
