A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Chore: Enables pylance pytest integration, swaps around some test markers (#11930)
Trenton H5577f70c69ad
diff --git a/paperless-ngx.code-workspace b/paperless-ngx.code-workspaceindex 85f5a836b..91020c66c 100644--- a/paperless-ngx.code-workspace+++ b/paperless-ngx.code-workspace@@ -33,6 +33,8 @@"**/coverage.json": true},"python.defaultInterpreterPath": ".venv/bin/python3",+ "python.analysis.inlayHints.pytestParameters": true,+ "python.testing.pytestEnabled": true,},"extensions": {"recommendations": ["ms-python.python", "charliermarsh.ruff", "editorconfig.editorconfig"],diff --git a/src/paperless_tika/tests/test_live_tika.py b/src/paperless_tika/tests/test_live_tika.pyindex 6bb4ff021..432f7482e 100644--- a/src/paperless_tika/tests/test_live_tika.py+++ b/src/paperless_tika/tests/test_live_tika.py@@ -12,6 +12,9 @@ from paperless_tika.parsers import TikaDocumentParserreason="No Gotenberg/Tika servers to test with",)@pytest.mark.django_db()class TestTikaParserAgainstServer:"""This test case tests the Tika parsing against a live tika server,diff --git a/src/paperless_tika/tests/test_tika_parser.py b/src/paperless_tika/tests/test_tika_parser.pyindex 05bc4fe2e..a84adb7b1 100644--- a/src/paperless_tika/tests/test_tika_parser.py+++ b/src/paperless_tika/tests/test_tika_parser.py@@ -128,6 +128,8 @@ class TestTikaParser:request = httpx_mock.get_request()+ assert request is not None+expected_field_name = "pdfa"content_type = request.headers["Content-Type"]