From: Trenton H <797416+stumpylog@users.noreply.github.com> Date: Mon, 10 Mar 2025 15:49:35 +0000 (-0700) Subject: Chore: Ensure the directories have been overridden and created for this test (#9354) X-Git-Tag: v2.15.0-beta.rc1~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=670ee6c5b023eca1d2b6b009c211a6e8e226fac9;p=thirdparty%2Fpaperless-ngx.git Chore: Ensure the directories have been overridden and created for this test (#9354) --- diff --git a/src/documents/tests/test_migration_document_pages_count.py b/src/documents/tests/test_migration_document_pages_count.py index e656bf1b8..902896b8c 100644 --- a/src/documents/tests/test_migration_document_pages_count.py +++ b/src/documents/tests/test_migration_document_pages_count.py @@ -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"