Skip to content

Commit

Permalink
removed api_key in integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
yaksh0nti committed Jun 19, 2024
1 parent 55abc04 commit e68a37c
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit e68a37c

Please sign in to comment.