Skip to content

Commit 2215e27

Browse files
committed
run latest autoformatter
1 parent 0e6bcbc commit 2215e27

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

tests/document/test_class_methods.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ class BlogPostWithCustomField(BlogPost):
177177
assert BlogPostWithCustomField.compare_indexes() == {"missing": [], "extra": []}
178178

179179
def test_compare_indexes_for_text_indexes(self):
180-
""" Ensure that compare_indexes behaves correctly for text indexes """
180+
"""Ensure that compare_indexes behaves correctly for text indexes"""
181181

182182
class Doc(Document):
183183
a = StringField()

tests/fields/test_file_field.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ class TestFile(Document):
308308
assert test_file.the_file not in [{"test": 1}]
309309

310310
def test_file_disk_space(self):
311-
""" Test disk space usage when we delete/replace a file """
311+
"""Test disk space usage when we delete/replace a file"""
312312

313313
class TestFile(Document):
314314
the_file = FileField()

tests/test_signals.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ def tearDown(self):
249249
assert self.pre_signals == post_signals
250250

251251
def test_model_signals(self):
252-
""" Model saves should throw some signals. """
252+
"""Model saves should throw some signals."""
253253

254254
def create_author():
255255
self.Author(name="Bill Shakespeare")
@@ -340,7 +340,7 @@ def load_existing_author():
340340
]
341341

342342
def test_signal_kwargs(self):
343-
""" Make sure signal_kwargs is passed to signals calls. """
343+
"""Make sure signal_kwargs is passed to signals calls."""
344344

345345
def live_and_let_die():
346346
a = self.Author(name="Bill Shakespeare")
@@ -385,7 +385,7 @@ def bulk_create_author():
385385
]
386386

387387
def test_queryset_delete_signals(self):
388-
""" Queryset delete should throw some signals. """
388+
"""Queryset delete should throw some signals."""
389389

390390
self.Another(name="Bill Shakespeare").save()
391391
assert self.get_signal_output(self.Another.objects.delete) == [
@@ -396,7 +396,7 @@ def test_queryset_delete_signals(self):
396396
]
397397

398398
def test_signals_with_explicit_doc_ids(self):
399-
""" Model saves must have a created flag the first time."""
399+
"""Model saves must have a created flag the first time."""
400400
ei = self.ExplicitId(id=123)
401401
# post save must received the created flag, even if there's already
402402
# an object id present

0 commit comments

Comments
 (0)