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 bd57bf3 commit 4adfeb4Copy full SHA for 4adfeb4
tests/legacy/test_connection.py
@@ -15,7 +15,8 @@ def test_connection_class_attrs():
15
assert isinstance(Connection.API_METHODS, dict)
16
17
18
-def test_connection_init_fail_wo_apikey():
+def test_connection_init_fail_wo_apikey(monkeypatch):
19
+ monkeypatch.delenv('SH_APIKEY')
20
with pytest.raises(RuntimeError):
21
Connection()
22
0 commit comments