mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-24 15:43:54 +00:00
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:
parent
a0c2281540
commit
75734fbcf1
@ -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()
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user