1
0
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:
Tim Graham 2015-05-20 13:05:41 -04:00
parent db65660928
commit 525fd2f405

View File

@ -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""")