Skip to content

Commit 87e7277

Browse files
committed
fixes storage
1 parent 79d42ad commit 87e7277

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/pytest-simcore/src/pytest_simcore/helpers/httpx_assert_checks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,5 +85,5 @@ def _do_assert_error(
8585

8686
for msg in list_expected_msg:
8787
assert any(
88-
re.search(msg, e) for e in details
88+
msg == e or re.search(msg, e) for e in details
8989
), f"could not find {msg=} in {details=}"

services/storage/tests/unit/test_utils_handlers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ async def client(initialized_app: FastAPI) -> AsyncIterator[AsyncClient]:
8989
statement="pytest statement",
9090
params={},
9191
orig=Exception("pytest original"),
92-
dbapi_base_err=Exception("pytest dbapi base error"),
92+
dbapi_base_err=Exception,
9393
),
9494
status.HTTP_503_SERVICE_UNAVAILABLE,
9595
),

0 commit comments

Comments
 (0)