mirror of
https://github.com/NousResearch/atropos.git
synced 2026-04-28 17:29:30 +00:00
Three environment files still imported the old `OpenaiConfig` name, which was renamed to `APIServerConfig`. This causes an ImportError at module load time, making these environments unusable: - environments/sft_loader_server.py - environments/community/ufc_prediction_env/ufc_server.py - environments/community/ufc_prediction_env/ufc_image_env.py Also adds a lightweight import regression test. |
||
|---|---|---|
| .. | ||
| test_utils | ||
| api_test_utils.py | ||
| conftest.py | ||
| README.md | ||
| test_advantages.py | ||
| test_api_compression.py | ||
| test_api_legacy.py | ||
| test_api_messages_handling.py | ||
| test_api_messages_handling_README.md | ||
| test_env_imports.py | ||
| test_jsonl2html.py | ||
| test_managed_server.py | ||
| test_managed_server_proxy.py | ||
| test_managed_server_proxy_integration.py | ||
| test_openai_api_workarounds.py | ||
| test_reasoning_models.py | ||
| test_server_logprobs.py | ||
| test_teacher_distillation_env.py | ||
| test_tool_call_translator.py | ||
| test_trl_vllm_server.py | ||
| test_vllm_api_server_generate.py | ||
Running Tests
This section contains instructions and guidelines for running the test suite. Please ensure all tests pass before submitting contributions.
We use pytest for our testing framework.
Simply run pytest from the main directory and you're good to go.