This repository was archived by the owner on Aug 19, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11"""
22Unit tests for the backend connection arguments.
33"""
4+ import pytest
45
56from databases .backends .aiopg import AiopgBackend
67from databases .backends .mysql import MySQLBackend
78from databases .backends .postgres import PostgresBackend
89from databases .core import DatabaseURL
9- from tests .test_databases import DATABASE_URLS , async_adapter
10+ from tests .test_databases import DATABASE_URLS
1011
1112
1213def test_postgres_pool_size ():
@@ -15,7 +16,7 @@ def test_postgres_pool_size():
1516 assert kwargs == {"min_size" : 1 , "max_size" : 20 }
1617
1718
18- @async_adapter
19+ @pytest . mark . anyio
1920async def test_postgres_pool_size_connect ():
2021 for url in DATABASE_URLS :
2122 if DatabaseURL (url ).dialect != "postgresql" :
You can’t perform that action at this time.
0 commit comments