mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-15 02:57:09 +01:00
Get rid of fill_list and rather use defaultdict
This commit is contained in:
parent
12c7b0d5f5
commit
7f1e1052fe
2 changed files with 10 additions and 20 deletions
|
|
@ -264,7 +264,7 @@ class TestDate(TestCase):
|
|||
# Ensure that filename is properly generated
|
||||
tmp = document.source_filename
|
||||
self.assertEqual(document.generate_source_filename(),
|
||||
"0000001.pdf")
|
||||
"none-0000001.pdf")
|
||||
document.create_source_directory()
|
||||
Path(document.source_path).touch()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue