mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-08-12 00:19:48 +00:00
Chore: add pre-commit hook for codespell (#5324)
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user