Files
OpenHands/tests/unit
openhands 3bbffa1769 Merge branch 'main' into feature/cli-conversation-list
Resolved merge conflicts by:
- Keeping main's versions of files that were deleted or moved
- Re-applying PR changes to agent_chat.py and tui.py
- Maintaining all PR functionality (conversation listing, loading, and completion)

PR files preserved:
- openhands-cli/openhands_cli/conversation_manager.py
- openhands-cli/tests/test_conversation_manager.py

Modified files with PR changes re-applied:
- openhands-cli/openhands_cli/agent_chat.py
- openhands-cli/openhands_cli/tui/tui.py

Co-authored-by: openhands <openhands@all-hands.dev>
2025-11-13 16:24:44 +00:00
..
2025-11-06 16:05:58 -07:00
2025-10-28 13:16:07 -04:00
2025-11-06 16:05:58 -07:00
2025-08-22 14:02:36 +00:00
2025-10-14 02:16:44 +00:00
2025-10-14 14:01:51 -04: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