Tim O'Farrell cf276b2e96
All Runtime Status Codes should be in the RuntimeStatus enum (#9601)
Co-authored-by: openhands <openhands@all-hands.dev>
2025-07-09 15:34:46 -06:00
..
2025-07-03 22:42:06 +02:00
2025-07-09 11:19:10 -04:00
2025-07-08 16:07:13 +02:00
2025-02-26 09:35:38 -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