Files
OpenHands/tests/unit
simonrosenberg cf156b0073 feat(acp): inject user secrets into ACP subprocess env (#14171)
Co-authored-by: Debug Agent <debug@example.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: openhands <openhands@all-hands.dev>
2026-04-28 08:32:36 -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_llm_fncall_converter.py

Run specific unit test

poetry run pytest ./tests/unit/test_llm_fncall_converter.py::test_convert_tool_call_to_string

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_llm_fncall_converter.py

More details see pytest doc