Engel Nyst e6847e9e61 Move agenthub within openhands (#4130) 1 год назад
..
linters 178dbfaf4a Run pre-commit (#4163) 1 год назад
README.md 9605106e72 feat: append_file incl. all tests [agentskills] (#2346) 1 год назад
test_acompletion.py 0a03c802f5 Refactor llm.py (#4057) 1 год назад
test_action_serialization.py 5a45c648a8 attributes for BE/FE should not be sent (#4150) 1 год назад
test_agent_controller.py 804674bb9f refactor the logic in agent_controller to imporve readability (#3873) 1 год назад
test_agent_skill.py 54ac340e0b refactor: standardize linter output data structure and interface (#4077) 1 год назад
test_arg_parser.py c8a933590a (feat) allow specification of config.toml location via args (solves #3947) (#4168) 1 год назад
test_bash_parsing.py 01ae22ef57 Rename OpenDevin to OpenHands (#3472) 1 год назад
test_browsing_agent_parser.py e6847e9e61 Move agenthub within openhands (#4130) 1 год назад
test_codeact_agent.py e6847e9e61 Move agenthub within openhands (#4130) 1 год назад
test_condenser.py 01ae22ef57 Rename OpenDevin to OpenHands (#3472) 1 год назад
test_config.py 152f99c64f Chore Bump python version (#3545) 1 год назад
test_event_stream.py 01ae22ef57 Rename OpenDevin to OpenHands (#3472) 1 год назад
test_is_stuck.py 6111f530c2 (fix) StuckDetector: syntax error loops were not detected (#3663) 1 год назад
test_json.py a33f61c025 (feat) Show messages' timestamp in UI (#3869) 1 год назад
test_listen.py 01ae22ef57 Rename OpenDevin to OpenHands (#3472) 1 год назад
test_llm.py e582806004 Vision and prompt caching fixes (#4014) 1 год назад
test_logging.py c6ba0e8339 Remove singleton config (#3614) 1 год назад
test_memory.py 9d0e6a24bc Refactor embeddings (#4219) 1 год назад
test_message_serialization.py e582806004 Vision and prompt caching fixes (#4014) 1 год назад
test_micro_agents.py e6847e9e61 Move agenthub within openhands (#4130) 1 год назад
test_microagent_utils.py e6847e9e61 Move agenthub within openhands (#4130) 1 год назад
test_observation_serialization.py 01ae22ef57 Rename OpenDevin to OpenHands (#3472) 1 год назад
test_prompt_caching.py e6847e9e61 Move agenthub within openhands (#4130) 1 год назад
test_prompt_manager.py e6847e9e61 Move agenthub within openhands (#4130) 1 год назад
test_response_parsing.py e6847e9e61 Move agenthub within openhands (#4130) 1 год назад
test_runtime_build.py e6847e9e61 Move agenthub within openhands (#4130) 1 год назад
test_security.py 2fe2f4c530 [eval] increase timeout for SWEBench eval init/complete (#3829) 1 год назад
test_storage.py 8c4c3b18b5 Feat google cloud storage (#3574) 1 год назад

README.md

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