Please sign in to comment.
Changed FilePathField tests to use it's own directory with test files.
In previous version it used /django/forms/ which was fragile - for some users .pyc files were not generated and this tests failed.
- Loading branch information...
Showing with 10 additions and 19 deletions.
- +10 −19 tests/regressiontests/forms/tests/fields.py
- 0 tests/regressiontests/forms/tests/filepath_test_files/.dot-file
- 0 tests/regressiontests/forms/tests/filepath_test_files/directory/.keep
- 0 tests/regressiontests/forms/tests/filepath_test_files/fake-image.jpg
- 0 tests/regressiontests/forms/tests/filepath_test_files/real-text-file.txt
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.