mirror of
https://github.com/django/django.git
synced 2024-12-23 09:36:06 +00:00
[1.8.x] Fixed typo in file_storage tests.
Backport of e2b77acedd
from master
This commit is contained in:
parent
db65660928
commit
525fd2f405
@ -249,7 +249,7 @@ class FileStorageTests(unittest.TestCase):
|
||||
self.assertEqual(self.storage.url(r"""~!*()'@#$%^&*abc`+ =.file"""),
|
||||
"""/test_media_url/~!*()'%40%23%24%25%5E%26*abc%60%2B%20%3D.file""")
|
||||
|
||||
# should stanslate os path separator(s) to the url path separator
|
||||
# should translate os path separator(s) to the url path separator
|
||||
self.assertEqual(self.storage.url("""a/b\\c.file"""),
|
||||
"""/test_media_url/a/b/c.file""")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user