Rohit Malhotra 7f5022c8fe Refactor issue filtering (#5129) 1 жил өмнө
..
resolver 7f5022c8fe Refactor issue filtering (#5129) 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 4eea1286d4 Issue #4399 : Replaced all occurences (#4878) 1 жил өмнө
test_agent_controller.py 436ecb80a3 Logger fixes for openhands-resolver (#4710) 1 жил өмнө
test_agent_skill.py d9c5f11046 Replace file editor with openhands-aci (#4782) 1 жил өмнө
test_arg_parser.py c8a933590a (feat) allow specification of config.toml location via args (solves #3947) (#4168) 1 жил өмнө
test_async_utils.py e12bff5189 Fix: Removed flaky test (#4444) 1 жил өмнө
test_bash_parsing.py 01ae22ef57 Rename OpenDevin to OpenHands (#3472) 1 жил өмнө
test_browsing_agent_parser.py 20455cea3e (Browsing agent) Fix send_msg_to_user (#4354) 1 жил өмнө
test_chunk_localizer.py da548d308c [agent] LLM-based editing (#3985) 1 жил өмнө
test_codeact_agent.py 07f0d1ccb3 feat(llm): convert function call request for non-funcall OSS model (#4711) 1 жил өмнө
test_condenser.py 01ae22ef57 Rename OpenDevin to OpenHands (#3472) 1 жил өмнө
test_config.py 67c8915d51 feat(runtime): Add prototype Runloop runtime impl (#4598) 1 жил өмнө
test_event_stream.py 01ae22ef57 Rename OpenDevin to OpenHands (#3472) 1 жил өмнө
test_is_stuck.py eeb2342509 Refactor history/event stream (#3808) 1 жил өмнө
test_json.py 4eea1286d4 Issue #4399 : Replaced all occurences (#4878) 1 жил өмнө
test_listen.py 01ae22ef57 Rename OpenDevin to OpenHands (#3472) 1 жил өмнө
test_llm.py 250fcbe62c Various async fixes (#4722) 1 жил өмнө
test_llm_fncall_converter.py 07f0d1ccb3 feat(llm): convert function call request for non-funcall OSS model (#4711) 1 жил өмнө
test_logging.py c6ba0e8339 Remove singleton config (#3614) 1 жил өмнө
test_memory.py 0687608feb [Arch proposal] ENVIRONMENT event source (#4584) 1 жил өмнө
test_message_serialization.py 1c9cdaf1a2 Fix old string serializer (#4644) 1 жил өмнө
test_micro_agents.py eeb2342509 Refactor history/event stream (#3808) 1 жил өмнө
test_microagent_utils.py be82832eb1 Use keyword matching for CodeAct microagents (#4568) 1 жил өмнө
test_observation_serialization.py 90e2bf4883 Split bash commands by the new line character (#4462) 1 жил өмнө
test_prompt_caching.py 07f0d1ccb3 feat(llm): convert function call request for non-funcall OSS model (#4711) 1 жил өмнө
test_prompt_manager.py 07f0d1ccb3 feat(llm): convert function call request for non-funcall OSS model (#4711) 1 жил өмнө
test_response_parsing.py e6847e9e61 Move agenthub within openhands (#4130) 1 жил өмнө
test_runtime_build.py fd81670ba8 feat: add VSCode to OpenHands runtime and UI (#4745) 1 жил өмнө
test_security.py ae13171194 feat(agent): CodeAct with function calling (#4537) 1 жил өмнө
test_storage.py 8c4c3b18b5 Feat google cloud storage (#3574) 1 жил өмнө
test_truncation.py 8dee334236 Context Window Exceeded fix (#4977) 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