Skip to content
This repository was archived by the owner on Aug 19, 2025. It is now read-only.

Commit 7e37d41

Browse files
committed
Fix the dsn for some tests
1 parent cefc343 commit 7e37d41

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

tests/test_connection_options.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,26 +56,26 @@ def test_mysql_explicit_ssl():
5656

5757

5858
def test_aiopg_pool_size():
59-
backend = AiopgBackend("postgres+aiopg://localhost/database?min_size=1&max_size=20")
59+
backend = AiopgBackend("postgresql+aiopg://localhost/database?min_size=1&max_size=20")
6060
kwargs = backend._get_connection_kwargs()
6161
assert kwargs == {"minsize": 1, "maxsize": 20}
6262

6363

6464
def test_aiopg_explicit_pool_size():
6565
backend = AiopgBackend(
66-
"postgres+aiopg://localhost/database", min_size=1, max_size=20
66+
"postgresql+aiopg://localhost/database", min_size=1, max_size=20
6767
)
6868
kwargs = backend._get_connection_kwargs()
6969
assert kwargs == {"minsize": 1, "maxsize": 20}
7070

7171

7272
def test_aiopg_ssl():
73-
backend = AiopgBackend("postgres+aiopg://localhost/database?ssl=true")
73+
backend = AiopgBackend("postgresql+aiopg://localhost/database?ssl=true")
7474
kwargs = backend._get_connection_kwargs()
7575
assert kwargs == {"ssl": True}
7676

7777

7878
def test_aiopg_explicit_ssl():
79-
backend = AiopgBackend("postgres+aiopg://localhost/database", ssl=True)
79+
backend = AiopgBackend("postgresql+aiopg://localhost/database", ssl=True)
8080
kwargs = backend._get_connection_kwargs()
8181
assert kwargs == {"ssl": True}

0 commit comments

Comments
 (0)