Skip to content

Commit

Permalink
missing anyio pytest mark
Browse files Browse the repository at this point in the history
  • Loading branch information
graingert committed Jun 21, 2021
1 parent 6943772 commit 9acbd78
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/test_connection_options.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
"""
Unit tests for the backend connection arguments.
"""
import pytest

from databases.backends.aiopg import AiopgBackend
from databases.backends.mysql import MySQLBackend
from databases.backends.postgres import PostgresBackend
from databases.core import DatabaseURL
from tests.test_databases import DATABASE_URLS, async_adapter
from tests.test_databases import DATABASE_URLS


def test_postgres_pool_size():
Expand All @@ -15,7 +16,7 @@ def test_postgres_pool_size():
assert kwargs == {"min_size": 1, "max_size": 20}


@async_adapter
@pytest.mark.anyio
async def test_postgres_pool_size_connect():
for url in DATABASE_URLS:
if DatabaseURL(url).dialect != "postgresql":
Expand Down

0 comments on commit 9acbd78

Please sign in to comment.