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 90a391a commit 1e5d347Copy full SHA for 1e5d347
tests/jobs/test_jobs.py
@@ -29,7 +29,7 @@ def test_post_job(provider, get_client, basic_auth_header, get_session: Session)
29
},
30
)
31
statement = select(Job).where(Job.id == res.json()["id"])
32
- job_inst: Job = get_session.exec(statement).first()
+ job_inst: Job | None = get_session.exec(statement).first()
33
34
assert job_inst is not None
35
assert job_inst.provider == provider
0 commit comments