Test: change variable for ZHIPU_AI_API_KEY (#7684)

### What problem does this PR solve?

change variable for ZHIPU_AI_API_KEY

### Type of change

- [x] Update test case
This commit is contained in:
liu an
2025-05-16 15:58:54 +08:00
committed by GitHub
parent 205974c359
commit 59705a1c1d
2 changed files with 1 additions and 6 deletions

View File

@ -49,8 +49,7 @@ MARKER_EXPRESSIONS = {
"p3": "p1 or p2 or p3",
}
HOST_ADDRESS = os.getenv("HOST_ADDRESS", "http://127.0.0.1:9380")
ZHIPU_AI_API_KEY = os.getenv("ZHIPU_AI_API_KEY")
print(f"{ZHIPU_AI_API_KEY=}")
ZHIPU_AI_API_KEY = os.getenv("ZHIPU_AI_API_KEY", "ca148e43209c40109e2bc2f56281dd11.BltyA2N1B043B7Ra")
if ZHIPU_AI_API_KEY is None:
pytest.exit("Error: Environment variable ZHIPU_AI_API_KEY must be set")