test: update test string for psycopg3

This commit is contained in:
Matthias
2025-10-23 07:06:36 +02:00
parent 78a00ef249
commit 866bda8606

View File

@@ -168,12 +168,12 @@ def test_plural() -> None:
"conn_url,expected",
[
(
"postgresql+psycopg2://scott123:scott123@host:1245/dbname",
"postgresql+psycopg2://scott123:*****@host:1245/dbname",
"postgresql+psycopg://scott123:scott123@host:1245/dbname",
"postgresql+psycopg://scott123:*****@host:1245/dbname",
),
(
"postgresql+psycopg2://scott123:scott123@host.name.com/dbname",
"postgresql+psycopg2://scott123:*****@host.name.com/dbname",
"postgresql+psycopg://scott123:scott123@host.name.com/dbname",
"postgresql+psycopg://scott123:*****@host.name.com/dbname",
),
(
"mariadb+mariadbconnector://app_user:Password123!@127.0.0.1:3306/company",