Use regular testcase instead of django, config check test

This commit is contained in:
shamoon
2025-09-11 13:52:10 -07:00
parent e05639ae4e
commit 47b2d2964b

View File

@@ -1,4 +1,5 @@
from django.test import TestCase
from unittest import TestCase
from django.test import override_settings
from paperless_remote import check_remote_parser_configured
@@ -18,7 +19,7 @@ class TestChecks(TestCase):
self.assertEqual(len(msgs), 1)
self.assertTrue(
msgs[0].msg.startswith(
"Azure AI remote parser requires endpoint to be configured.",
"Azure AI remote parser requires endpoint and API key to be configured.",
),
)