We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e824d7 commit f33cdc6Copy full SHA for f33cdc6
1 file changed
tests/conftest.py
@@ -18,6 +18,12 @@ def requests_adapter() -> Iterator[requests_mock.Adapter]:
18
yield adapter
19
20
21
+@pytest.fixture(autouse=True)
22
+def ensure_no_stacklet_api_key_env(monkeypatch) -> None:
23
+ """Ensure STACKLET_API_KEY doesn't come set from the env during tests."""
24
+ monkeypatch.delenv("STACKLET_API_KEY", raising=False)
25
+
26
27
@pytest.fixture(autouse=True)
28
def default_stacklet_dir(tmp_path_factory) -> Iterator[Path]:
29
"""A default .stacklet directory for testing."""
0 commit comments