From c58005089626ae861fdb68189eecc3681271d4b7 Mon Sep 17 00:00:00 2001 From: tzing Date: Mon, 11 Mar 2024 00:52:30 +0800 Subject: [PATCH] skip more --- tests/providers/vault/test_vault_config.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/providers/vault/test_vault_config.py b/tests/providers/vault/test_vault_config.py index fd0f9bad..bbf49129 100644 --- a/tests/providers/vault/test_vault_config.py +++ b/tests/providers/vault/test_vault_config.py @@ -85,6 +85,10 @@ def test_fail(self): class TestGetURL: + @pytest.fixture(autouse=True) + def _del_env_vars(self, monkeypatch: pytest.MonkeyPatch): + monkeypatch.delenv("VAULT_ADDR", raising=False) + def setup_method(self): self.data = {"url": "https://data.example.com"}