]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Chore: Ensure the directories have been overridden and created for this test (#9354)
authorTrenton H <797416+stumpylog@users.noreply.github.com>
Mon, 10 Mar 2025 15:49:35 +0000 (08:49 -0700)
committerGitHub <noreply@github.com>
Mon, 10 Mar 2025 15:49:35 +0000 (15:49 +0000)
src/documents/tests/test_migration_document_pages_count.py

index e656bf1b85cad0b4f8fd669678500ec77d11dbf6..902896b8c5cec4e485d195ceac5df52a849fe50f 100644 (file)
@@ -4,6 +4,7 @@ from pathlib import Path
 
 from django.conf import settings
 
+from documents.tests.utils import DirectoriesMixin
 from documents.tests.utils import TestMigrations
 
 
@@ -14,7 +15,7 @@ def source_path_before(self):
     return os.path.join(settings.ORIGINALS_DIR, fname)
 
 
-class TestMigrateDocumentPageCount(TestMigrations):
+class TestMigrateDocumentPageCount(DirectoriesMixin, TestMigrations):
     migrate_from = "1052_document_transaction_id"
     migrate_to = "1053_document_page_count"