mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-10-24 16:48:55 +00:00
Chore: Isolate the search index directory in trash-restore tests, they were using a persistent index (#13876)
This commit is contained in:
1 parent
40d09ef309
commit
06e9c1c02b
2 files changed
+3
-1
No files matched your search
@@ -7,9 +7,10 @@ from rest_framework import status
|
||||
from rest_framework.test import APITestCase
|
||||
|
||||
from documents.models import Document
|
||||
from documents.tests.utils import DirectoriesMixin
|
||||
|
||||
|
||||
class TestTrashAPI(APITestCase):
|
||||
class TestTrashAPI(DirectoriesMixin, APITestCase):
|
||||
def setUp(self) -> None:
|
||||
super().setUp()
|
||||
|
||||
|
||||
Reference in new issue
Block a user