diff options
| author | Tim Graham <timograham@gmail.com> | 2015-01-14 15:00:27 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-01-14 15:00:27 -0500 |
| commit | 9801d419b9e3d3c716cb857e4337f403d1c50706 (patch) | |
| tree | bc432e9170688ca45db75beb0eb1434f5dc54e2e | |
| parent | 2d5da57f4856656677d82d4a56f5914f3cc431d8 (diff) | |
Skipped a problematic file_storage test on Windows.
| -rw-r--r-- | tests/file_storage/tests.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/file_storage/tests.py b/tests/file_storage/tests.py index 8e8b0e0a32..4edee3cb80 100644 --- a/tests/file_storage/tests.py +++ b/tests/file_storage/tests.py @@ -532,6 +532,10 @@ class FileFieldStorageTests(SimpleTestCase): for o in objs: o.delete() + @unittest.skipIf( + sys.platform.startswith('win'), + "Windows supports at most 260 characters in a path.", + ) def test_extended_length_storage(self): # Testing FileField with max_length > 255. Most systems have filename # length limitation of 255. Path takes extra chars. |
