Skip to content

Commit ad81470

Browse files
committed
Put space after hash
1 parent fc140d0 commit ad81470

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/fields/file_tests.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -309,23 +309,23 @@ class TestFile(Document):
309309
testfile.the_file.put(text, content_type=content_type, filename="hello")
310310
testfile.save()
311311

312-
#Now check fs.files and fs.chunks
312+
# Now check fs.files and fs.chunks
313313
db = TestFile._get_db()
314314

315315
files = db.fs.files.find()
316316
chunks = db.fs.chunks.find()
317317
self.assertEquals(len(list(files)), 1)
318318
self.assertEquals(len(list(chunks)), 1)
319319

320-
#Deleting the docoument should delete the files
320+
# Deleting the docoument should delete the files
321321
testfile.delete()
322322

323323
files = db.fs.files.find()
324324
chunks = db.fs.chunks.find()
325325
self.assertEquals(len(list(files)), 0)
326326
self.assertEquals(len(list(chunks)), 0)
327327

328-
#Test case where we don't store a file in the first place
328+
# Test case where we don't store a file in the first place
329329
testfile = TestFile()
330330
testfile.save()
331331

@@ -341,7 +341,7 @@ class TestFile(Document):
341341
self.assertEquals(len(list(files)), 0)
342342
self.assertEquals(len(list(chunks)), 0)
343343

344-
#Test case where we overwrite the file
344+
# Test case where we overwrite the file
345345
testfile = TestFile()
346346
testfile.the_file.put(text, content_type=content_type, filename="hello")
347347
testfile.save()

0 commit comments

Comments
 (0)