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.
HTTPError
Exception
1 parent 1a808f0 commit c869062Copy full SHA for c869062
tests/posit/connect/test_jobs.py
@@ -1,5 +1,6 @@
1
import pytest
2
import responses
3
+from requests.exceptions import HTTPError
4
5
from posit.connect.client import Client
6
@@ -61,7 +62,7 @@ def test_miss(self):
61
62
c = Client("https://connect.example", "12345")
63
content = c.content.get("f2f37341-e21d-3d80-c698-a935ad614066")
64
- with pytest.raises(Exception):
65
+ with pytest.raises(HTTPError):
66
content.jobs.find("not-found")
67
68
0 commit comments