Files
OpenHands/tests/unit
tobitege d2509a19c8 fix: logger with more masking of sensitive data (#2470)
* fix: more logger sensitive masking

* fix: test_config.py updated for more sensitive patterns

* added one more...
2024-06-16 17:32:26 -04:00
..
2024-05-23 23:36:15 +00: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_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