mirror of
https://github.com/All-Hands-AI/OpenHands.git
synced 2026-01-10 07:18:10 -05:00
* depracting docker exec box * remove doc exec from workflow and docs * remove background commands * Update tests/unit/test_sandbox.py Co-authored-by: Engel Nyst <enyst@users.noreply.github.com> * replace for-loop with assignment * fix integration tests * fix integration tests for shell script * fix integration tests * increase max iter to fix some monologue agent issue * fix integration test again * fix integration tests (seems related to run_user issue) --------- Co-authored-by: Engel Nyst <enyst@users.noreply.github.com>
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