mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-13 18:17:02 +01:00
code review changes
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
This commit is contained in:
parent
bf57b6e4a2
commit
a7b1658ee1
2 changed files with 30 additions and 36 deletions
|
|
@ -225,8 +225,7 @@ class TestTasks(DirectoriesMixin, TestCase):
|
|||
)
|
||||
dst = os.path.join(settings.SCRATCH_DIR, "simple.pdf")
|
||||
shutil.copy(test_file, dst)
|
||||
target_file = tasks.convert_from_tiff_to_pdf(dst)
|
||||
self.assertFalse(os.path.isfile(target_file))
|
||||
self.assertIsNone(tasks.convert_from_tiff_to_pdf(dst))
|
||||
|
||||
def test_scan_file_for_separating_barcodes(self):
|
||||
test_file = os.path.join(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue