Calvin Smith 23348af431
Add test for context window truncation in agent controller (#6477)
Co-authored-by: Calvin Smith <calvin@all-hands.dev>
2025-01-27 08:35:43 -07:00
..
2025-01-05 02:58:26 +00:00
2025-01-23 14:33:16 -07:00
2025-01-23 14:33:16 -07:00

Introduction

This folder contains unit tests that could be run locally.

Run all test:

poetry run pytest ./tests/unit

Run specific test file:

poetry run pytest ./tests/unit/test_micro_agents.py

Run specific unit test

poetry run pytest ./tests/unit/test_micro_agents.py::test_coder_agent_with_summary

For a more verbose output, to above calls the -v flag can be used (even more verbose: -vv and -vvv):

poetry run pytest -v ./tests/unit/test_micro_agents.py

More details see pytest doc