Files
OpenHands/tests/unit
johba f8e4b5562e Forgejo integration (#11111)
Co-authored-by: johba <admin@noreply.localhost>
Co-authored-by: openhands <openhands@all-hands.dev>
Co-authored-by: johba <johba@harb.eth>
Co-authored-by: enyst <engel.nyst@gmail.com>
Co-authored-by: Graham Neubig <neubig@gmail.com>
Co-authored-by: MrGeorgen <65063405+MrGeorgen@users.noreply.github.com>
Co-authored-by: MrGeorgen <moinl6162@gmail.com>
2025-12-27 15:57:31 -05:00
..
2025-10-28 13:16:07 -04:00
2025-12-27 15:57:31 -05:00
2025-08-22 14:02:36 +00:00
2025-10-14 02:16:44 +00:00
2025-12-27 15:57:31 -05: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