community: fix typo in unit tests for test_zenguard.py (#23819)

enviroment -> environment


- [x] **PR title**: "package: description"
- Where "package" is whichever of langchain, community, core,
experimental, etc. is being modified. Use "docs: ..." for purely docs
changes, "templates: ..." for template changes, "infra: ..." for CI
changes.
  - Example: "community: add foobar LLM"
This commit is contained in:
Ikko Eltociear Ashimine 2024-07-04 03:05:42 +09:00 committed by GitHub
parent a0c2281540
commit 75734fbcf1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -9,7 +9,7 @@ from langchain_community.tools.zenguard.tool import Detector, ZenGuardTool
@pytest.fixture()
def zenguard_tool() -> ZenGuardTool:
if os.getenv("ZENGUARD_API_KEY") is None:
raise ValueError("ZENGUARD_API_KEY is not set in enviroment varibale")
raise ValueError("ZENGUARD_API_KEY is not set in environment varibale")
return ZenGuardTool()