We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f02fe84 commit 5ff7d08Copy full SHA for 5ff7d08
packages/postgres-database/tests/test_utils_comp_runs.py
@@ -128,8 +128,7 @@ async def test_get_latest_run_id_for_project_no_runs(
128
):
129
import uuid
130
131
- with pytest.raises(ValueError, match="did not return any row") as exc:
132
- await get_latest_run_id_for_project(
133
- asyncpg_engine, project_id=str(uuid.uuid4())
134
- )
135
- assert "did not return any row" in str(exc.value)
+ output = await get_latest_run_id_for_project(
+ asyncpg_engine, project_id=str(uuid.uuid4())
+ )
+ assert output is None
0 commit comments