/
githubmirror
/
crewai
Обзор
Документация
Войти
/
githubmirror
/
crewai
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
lib/cli/tests/test_constants.py
20 строк
626 B
Greyson LaLonde
refactor: extract CLI into standalone crewai-cli package
06 май 2026, 15:46
Не верифицирован
06 май 2026, 15:46
93e786d
Код
Авторство
О чём код?
from crewai_cli.constants import ENV_VARS, MODELS, PROVIDERS def test_huggingface_in_providers(): """Test that Huggingface is in the PROVIDERS list.""" assert "huggingface" in PROVIDERS def test_huggingface_env_vars(): """Test that Huggingface environment variables are properly configured.""" assert "huggingface" in ENV_VARS assert any( detail.get("key_name") == "HF_TOKEN" for detail in ENV_VARS["huggingface"] ) def test_huggingface_models(): """Test that Huggingface models are properly configured.""" assert "huggingface" in MODELS assert len(MODELS["huggingface"]) > 0