MCPcopy
hub / github.com/crewAIInc/crewAI / test_huggingface_env_vars

Function test_huggingface_env_vars

lib/cli/tests/test_constants.py:9–14  ·  view source on GitHub ↗

Test that Huggingface environment variables are properly configured.

()

Source from the content-addressed store, hash-verified

7
8
9def test_huggingface_env_vars():
10 """Test that Huggingface environment variables are properly configured."""
11 assert "huggingface" in ENV_VARS
12 assert any(
13 detail.get("key_name") == "HF_TOKEN" for detail in ENV_VARS["huggingface"]
14 )
15
16
17def test_huggingface_models():

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…