mirror of
https://github.com/django/django.git
synced 2025-08-31 07:47:37 +00:00
PEP8 cleanup
Signed-off-by: Jason Myers <jason@jasonamyers.com>
This commit is contained in:
parent
0fdb692c6c
commit
7a61c68c50
128 changed files with 739 additions and 206 deletions
|
@ -397,6 +397,7 @@ class FileUploadTests(TestCase):
|
|||
# shouldn't differ.
|
||||
self.assertEqual(os.path.basename(obj.testfile.path), 'MiXeD_cAsE.txt')
|
||||
|
||||
|
||||
@override_settings(MEDIA_ROOT=MEDIA_ROOT)
|
||||
class DirectoryCreationTests(TestCase):
|
||||
"""
|
||||
|
@ -436,7 +437,7 @@ class DirectoryCreationTests(TestCase):
|
|||
# The test needs to be done on a specific string as IOError
|
||||
# is raised even without the patch (just not early enough)
|
||||
self.assertEqual(exc_info.exception.args[0],
|
||||
"%s exists and is not a directory." % UPLOAD_TO)
|
||||
"%s exists and is not a directory." % UPLOAD_TO)
|
||||
|
||||
|
||||
class MultiParserTests(unittest.TestCase):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue