diff --git a/libs/community/tests/integration_tests/tools/zenguard/test_zenguard.py b/libs/community/tests/integration_tests/tools/zenguard/test_zenguard.py index 3ef617ed1e09a..0d990bcb8d009 100644 --- a/libs/community/tests/integration_tests/tools/zenguard/test_zenguard.py +++ b/libs/community/tests/integration_tests/tools/zenguard/test_zenguard.py @@ -8,10 +8,9 @@ @pytest.fixture() def zenguard_tool() -> ZenGuardTool: - zenguard_api_key = os.getenv("ZENGUARD_API_KEY") - if zenguard_api_key is None: - zenguard_api_key = "3Ev_DGvELv7EnlgWMTlpmWTo82tpstyz4Li_R7kTDQw" - return ZenGuardTool(zenguard_api_key=zenguard_api_key) + if os.getenv("ZENGUARD_API_KEY") is None: + raise ValueError("ZENGUARD_API_KEY is not set in enviroment varibale") + return ZenGuardTool() def assert_successful_response_not_detected(response: Dict[str, Any]) -> None: