This commit is contained in:
jonaswinkler
2020-12-05 00:37:05 +01:00
parent cd5587b511
commit 17af581425
3 changed files with 17 additions and 7 deletions

View File

@@ -32,7 +32,7 @@ class TestArchiver(DirectoriesMixin, TestCase):
shutil.copy(sample_file, os.path.join(self.dirs.originals_dir, "0000001.pdf"))
self.make_models()
handle_document(self.d1)
handle_document(self.d1.pk)
doc = Document.objects.get(id=self.d1.id)