From a8b614a84d62418ca16fa9869c8720dbc97b8fca Mon Sep 17 00:00:00 2001 From: abhijithneilabraham Date: Fri, 3 Jul 2026 14:45:25 +0530 Subject: [PATCH 1/2] upd: tests workflow --- .github/workflows/test.yml | 6 +++--- tests/test_tool_decorator.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 525b476..39d3576 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,7 +13,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - python-version: ["3.10"] + python-version: ["3.11", "3.12"] steps: - uses: actions/checkout@v3 @@ -23,7 +23,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | - pip install --upgrade pip pytest - pip install . + pip install --upgrade pip + pip install ".[dev]" - name: Test with Pytest run: pytest diff --git a/tests/test_tool_decorator.py b/tests/test_tool_decorator.py index 87ed6fc..0641d41 100644 --- a/tests/test_tool_decorator.py +++ b/tests/test_tool_decorator.py @@ -25,7 +25,7 @@ def _ctx() -> ToolContext: def _run(coro): - return asyncio.get_event_loop().run_until_complete(coro) + return asyncio.run(coro) # --------------------------------------------------------------------------- From 741f972da6cd8d67646c4fb8a41df5c6f8186848 Mon Sep 17 00:00:00 2001 From: abhijithneilabraham Date: Fri, 3 Jul 2026 14:50:00 +0530 Subject: [PATCH 2/2] fix: Adding pythonpath = ["."] --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 5ad70d6..ee6ecb9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -62,4 +62,5 @@ plugins = ["pydantic.mypy"] [tool.pytest.ini_options] asyncio_mode = "auto" testpaths = ["tests"] +pythonpath = ["."] markers = ["integration: live network tests (require internet access)"]