From aca9e000850181ccba4e16976f84d05c1013e3c1 Mon Sep 17 00:00:00 2001 From: jer Date: Tue, 8 Jul 2025 10:47:28 -0400 Subject: [PATCH] refactor(a2a): move a2a test module --- pyproject.toml | 10 +++++----- tests/{ => strands}/multiagent/__init__.py | 0 tests/{ => strands}/multiagent/a2a/__init__.py | 0 tests/{ => strands}/multiagent/a2a/conftest.py | 0 tests/{ => strands}/multiagent/a2a/test_executor.py | 0 tests/{ => strands}/multiagent/a2a/test_server.py | 0 6 files changed, 5 insertions(+), 5 deletions(-) rename tests/{ => strands}/multiagent/__init__.py (100%) rename tests/{ => strands}/multiagent/a2a/__init__.py (100%) rename tests/{ => strands}/multiagent/a2a/conftest.py (100%) rename tests/{ => strands}/multiagent/a2a/test_executor.py (100%) rename tests/{ => strands}/multiagent/a2a/test_server.py (100%) diff --git a/pyproject.toml b/pyproject.toml index 6244b89bc..1495254e3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -143,10 +143,10 @@ features = ["dev", "docs", "anthropic", "litellm", "llamaapi", "ollama", "a2a"] [tool.hatch.envs.a2a.scripts] run = [ - "pytest{env:HATCH_TEST_ARGS:} tests/multiagent/a2a {args}" + "pytest{env:HATCH_TEST_ARGS:} tests/strands/multiagent/a2a {args}" ] run-cov = [ - "pytest{env:HATCH_TEST_ARGS:} tests/multiagent/a2a --cov --cov-config=pyproject.toml {args}" + "pytest{env:HATCH_TEST_ARGS:} tests/strands/multiagent/a2a --cov --cov-config=pyproject.toml {args}" ] lint-check = [ "ruff check", @@ -159,11 +159,11 @@ python = ["3.13", "3.12", "3.11", "3.10"] [tool.hatch.envs.hatch-test.scripts] run = [ # excluding due to A2A and OTEL http exporter dependency conflict - "pytest{env:HATCH_TEST_ARGS:} {args} --ignore=tests/multiagent/a2a" + "pytest{env:HATCH_TEST_ARGS:} {args} --ignore=tests/strands/multiagent/a2a" ] run-cov = [ # excluding due to A2A and OTEL http exporter dependency conflict - "pytest{env:HATCH_TEST_ARGS:} --cov --cov-config=pyproject.toml {args} --ignore=tests/multiagent/a2a" + "pytest{env:HATCH_TEST_ARGS:} --cov --cov-config=pyproject.toml {args} --ignore=tests/strands/multiagent/a2a" ] cov-combine = [] @@ -285,4 +285,4 @@ style = [ ["instruction", ""], ["text", ""], ["disabled", "fg:#858585 italic"] -] \ No newline at end of file +] diff --git a/tests/multiagent/__init__.py b/tests/strands/multiagent/__init__.py similarity index 100% rename from tests/multiagent/__init__.py rename to tests/strands/multiagent/__init__.py diff --git a/tests/multiagent/a2a/__init__.py b/tests/strands/multiagent/a2a/__init__.py similarity index 100% rename from tests/multiagent/a2a/__init__.py rename to tests/strands/multiagent/a2a/__init__.py diff --git a/tests/multiagent/a2a/conftest.py b/tests/strands/multiagent/a2a/conftest.py similarity index 100% rename from tests/multiagent/a2a/conftest.py rename to tests/strands/multiagent/a2a/conftest.py diff --git a/tests/multiagent/a2a/test_executor.py b/tests/strands/multiagent/a2a/test_executor.py similarity index 100% rename from tests/multiagent/a2a/test_executor.py rename to tests/strands/multiagent/a2a/test_executor.py diff --git a/tests/multiagent/a2a/test_server.py b/tests/strands/multiagent/a2a/test_server.py similarity index 100% rename from tests/multiagent/a2a/test_server.py rename to tests/strands/multiagent/a2a/test_server.py