mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-16 19:46:48 +01:00
Changes out the settings and a decent amount of test code to be pathlib compatible
This commit is contained in:
parent
7cb14374cf
commit
41bcfcaffe
9 changed files with 192 additions and 309 deletions
|
|
@ -58,8 +58,8 @@ class TestMakeThumbnails(DirectoriesMixin, FileSystemAssertsMixin, TestCase):
|
|||
self.assertIsNotFile(self.d1.thumbnail_path)
|
||||
self.assertIsNotFile(self.d2.thumbnail_path)
|
||||
call_command("document_thumbnails")
|
||||
self.assertTrue(self.d1.thumbnail_path)
|
||||
self.assertTrue(self.d2.thumbnail_path)
|
||||
self.assertIsFile(self.d1.thumbnail_path)
|
||||
self.assertIsFile(self.d2.thumbnail_path)
|
||||
|
||||
def test_command_documentid(self):
|
||||
self.assertIsNotFile(self.d1.thumbnail_path)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue