Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ dependencies = [
"pydantic-settings",
"granian[uvloop]",
"argon2-cffi",
"db-retry",
"db-retry>=0.7.1",
# database
"alembic",
"alembic-postgresql-enum",
Expand Down
8 changes: 0 additions & 8 deletions tests/use_cases/test_connection_loss.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
import asyncio
import typing

import advanced_alchemy.exceptions
import asyncpg
import modern_di
import pytest
import sqlalchemy as sa
from sqlalchemy.exc import InterfaceError
from sqlalchemy.ext.asyncio import AsyncSession

from app import ioc
Expand All @@ -15,12 +13,6 @@
from app.exceptions import PermissionDeniedError


pytestmark = pytest.mark.xfail(
raises=(advanced_alchemy.exceptions.IntegrityError, InterfaceError),
reason="the released db-retry does not retry a closed connection; modern-python/db-retry#69 does",
strict=True,
)

UNKNOWN_ACTOR: typing.Final = Actor(id=-1)


Expand Down
Loading