mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-06 06:45:05 +01:00
Chore: Ensure the directories have been overridden and created for this test (#9354)
This commit is contained in:
parent
309fb199f2
commit
670ee6c5b0
1 changed files with 2 additions and 1 deletions
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue