From d02286c714d9458f7e4a4038719cb17a8fcde27c Mon Sep 17 00:00:00 2001 From: Madeesh Kannan Date: Mon, 12 Feb 2024 13:54:07 +0100 Subject: [PATCH] tests: Fix failing `TestCohereChatGenerator.test_from_dict_fail_wo_env_var` test (#393) --- integrations/cohere/tests/test_cohere_chat_generator.py | 1 + 1 file changed, 1 insertion(+) diff --git a/integrations/cohere/tests/test_cohere_chat_generator.py b/integrations/cohere/tests/test_cohere_chat_generator.py index f1d15db08..622797f5e 100644 --- a/integrations/cohere/tests/test_cohere_chat_generator.py +++ b/integrations/cohere/tests/test_cohere_chat_generator.py @@ -169,6 +169,7 @@ def test_from_dict(self, monkeypatch): @pytest.mark.unit def test_from_dict_fail_wo_env_var(self, monkeypatch): monkeypatch.delenv("COHERE_API_KEY", raising=False) + monkeypatch.delenv("CO_API_KEY", raising=False) data = { "type": "haystack_integrations.components.generators.cohere.chat.chat_generator.CohereChatGenerator", "init_parameters": {