From c1f4bcbb3c4b590af32671715504dc13d289e672 Mon Sep 17 00:00:00 2001 From: Trenton H <797416+stumpylog@users.noreply.github.com> Date: Fri, 7 Mar 2025 08:02:56 -0800 Subject: [PATCH] Ensure the directories have been overridden and created for this test --- src/documents/tests/test_migration_document_pages_count.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"