opencompletion.com/tests/unit
Claude ad47efd31d
Fix test failures in guarded_ai test files
- Update test_initialize_model_map to mock models.list() response properly
- Update test_get_openai_client_and_model_default to match new MODEL_X behavior
- Fix test_initialize_model_map_with_env_vars in functional tests

Tests now properly mock the OpenAI client's models.list() response, which
returns model IDs that are used as keys in MODEL_CLIENT_MAP, not endpoint names.
2025-11-10 19:50:06 +00:00
..
test_activity.py Run black formatter on all Python files 2025-11-10 19:37:05 +00:00
test_activity_utils.py Run black formatter on all Python files 2025-11-10 19:37:05 +00:00
test_activity_yaml_validator.py Run black formatter on all Python files 2025-11-10 19:37:05 +00:00
test_app.py Refactor activity functions into separate activity.py module 2025-10-22 20:23:06 -04:00
test_guarded_ai_functions.py Fix test failures in guarded_ai test files 2025-11-10 19:50:06 +00:00
test_models.py Run black formatter on all Python files 2025-11-10 19:37:05 +00:00
test_random_buckets.py Run black formatter on all Python files 2025-11-10 19:37:05 +00:00
test_yaml_loading.py Integrate comprehensive testing framework with Makefile 2025-08-10 19:38:50 -04:00