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 9e29f62 commit d6d98d2Copy full SHA for d6d98d2
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', raising=False)
20
with pytest.raises(RuntimeError):
21
Connection()
22
0 commit comments