mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-15 11:07:00 +01:00
Chore: add pre-commit hook for codespell (#5324)
This commit is contained in:
parent
58bf9c552b
commit
f525ac0af6
33 changed files with 60 additions and 53 deletions
|
|
@ -414,7 +414,7 @@ class TestClassifier(DirectoriesMixin, TestCase):
|
|||
)
|
||||
doc2 = Document.objects.create(
|
||||
title="doc2",
|
||||
content="this is a document from noone",
|
||||
content="this is a document from no one",
|
||||
checksum="B",
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -665,7 +665,7 @@ class TestConsumer(DirectoriesMixin, FileSystemAssertsMixin, TestCase):
|
|||
@override_settings(FILENAME_FORMAT="{correspondent}/{title}")
|
||||
@mock.patch("documents.signals.handlers.generate_unique_filename")
|
||||
def testFilenameHandlingUnstableFormat(self, m):
|
||||
filenames = ["this", "that", "now this", "i cant decide"]
|
||||
filenames = ["this", "that", "now this", "i cannot decide"]
|
||||
|
||||
def get_filename():
|
||||
f = filenames.pop()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue