mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-09-05 02:06:20 +00:00
Chore: add pre-commit hook for codespell (#5324)
This commit is contained in:
@@ -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