A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Tests: add regression test for redis URL with empty username (#12460)
Andreas Schneider85e0d1842a55
diff --git a/src/paperless/tests/settings/test_custom_parsers.py b/src/paperless/tests/settings/test_custom_parsers.pyindex 06299abb3..6fa7ad8eb 100644--- a/src/paperless/tests/settings/test_custom_parsers.py+++ b/src/paperless/tests/settings/test_custom_parsers.py@@ -79,6 +79,15 @@ class TestRedisSocketConversion:),id="celery_style_socket_with_credentials",),+ # Empty username, password only: unix://:SECRET@/path.sock+ pytest.param(+ "unix://:SECRET@/run/redis/paperless.sock",+ (+ "redis+socket://:SECRET@/run/redis/paperless.sock",+ "unix://:SECRET@/run/redis/paperless.sock",+ ),+ id="redis_py_style_socket_with_password_only",+ ),],)def test_redis_socket_parsing(