mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-12 17:47:08 +01:00
Ensure filling in "none" when a tag has not been found
This commit is contained in:
parent
1e102efaf8
commit
1ce94348d8
2 changed files with 4 additions and 2 deletions
|
|
@ -206,7 +206,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