Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[1.1.X] Fixed the files test to not care whether the names are report…

…ed as bytestrings or unicode. Refs #12898.

r12676 from trunk.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit cc65ac9e2b740e8e00bd5614293aa8065f8cec7e 1 parent 1332b11
@kmtracey kmtracey authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 tests/modeltests/files/
8 tests/modeltests/files/
@@ -69,14 +69,14 @@ def random_upload_to(self, filename):
>>> dirs
>>> files.sort()
->>> files
-['default.txt', 'django_test.txt']
+>>> files == ['default.txt', 'django_test.txt']
>>> dirs, files = temp_storage.listdir('tests')
>>> files.sort()
->>> files
-['assignment.txt', 'default.txt', 'django_test.txt']
+>>> files == ['assignment.txt', 'default.txt', 'django_test.txt']
# Files can be read in a little at a time, if necessary.
Please sign in to comment.
Something went wrong with that request. Please try again.