Shimada666 26fc3c886a Make plugins sandbox-agnostic (#2101) 1 gadu atpakaļ
..
README.md 9605106e72 feat: append_file incl. all tests [agentskills] (#2346) 1 gadu atpakaļ
test_action_serialization.py 48151bdbb0 [feat] WebArena benchmark, MiniWoB++ benchmark and related arch changes (#2170) 1 gadu atpakaļ
test_agent_skill.py 823298e0d0 fix: Agentskills enhancements (#2384) 1 gadu atpakaļ
test_arg_parser.py 18d07bda89 feat: add max_budget_per_task configuration to control task cost (#2070) 1 gadu atpakaļ
test_config.py d2509a19c8 fix: logger with more masking of sensitive data (#2470) 1 gadu atpakaļ
test_event_stream.py 0eccf31604 Refactor monologue and SWE agent to use the messages in state history (#1863) 1 gadu atpakaļ
test_image_agnostic_util.py 26fc3c886a Make plugins sandbox-agnostic (#2101) 1 gadu atpakaļ
test_ipython.py 26fc3c886a Make plugins sandbox-agnostic (#2101) 1 gadu atpakaļ
test_is_stuck.py bb4ea1e6cb Adjust is-stuck check for the same steps to 3 until it's stopped (#2437) 1 gadu atpakaļ
test_json.py 9ca2007201 fix json encoding (#2018) 1 gadu atpakaļ
test_logging.py d2509a19c8 fix: logger with more masking of sensitive data (#2470) 1 gadu atpakaļ
test_micro_agents.py 80fe13f4be rename our completion as a drop-in replacement of litellm completion (#2509) 1 gadu atpakaļ
test_observation_serialization.py 110b878dd9 fix up serialization and deserialization of events (#1850) 1 gadu atpakaļ
test_response_parsing.py b2307db010 Document, rename Agent* exceptions to LLM* (#2508) 1 gadu atpakaļ
test_sandbox.py 26fc3c886a Make plugins sandbox-agnostic (#2101) 1 gadu atpakaļ
test_storage.py 5bdacf738d Refactor session management (#1810) 1 gadu atpakaļ

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