Ensure filling in "none" when a tag has not been found

This commit is contained in:
Wolf-Bastian Poettner committed 2020-02-17 21:05:34 +00:00
1 parent 1e102efaf8
commit 1ce94348d8
2 files changed
+4 -2

No files matched your search

+1 -1
View File
@@ -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()