mirror of
https://github.com/NousResearch/atropos.git
synced 2026-04-22 16:48:57 +00:00
Tests that launch the API server via subprocess used a hardcoded "python" command which fails on systems where only "python3" is available (e.g. macOS). Using sys.executable ensures the same interpreter running pytest is used for subprocesses. Fixes 36 test errors on macOS environments. |
||
|---|---|---|
| .. | ||
| 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_jsonl2html.py | ||
| test_managed_server.py | ||
| test_openai_api_workarounds.py | ||
| test_reasoning_models.py | ||
| test_server_logprobs.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.