Skip to content

Commit 299b604

Browse files
committed
Try to see if Splunk MCP Server App returns tags
1 parent 140d162 commit 299b604

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/test.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,12 @@ jobs:
4646
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae
4747
with:
4848
path: .pytest_cache
49-
key: pytest-cache-${{ runner.os }}-py${{ matrix.python-version }}-${{ github.ref_name }}-${{ github.sha }}
49+
key: pytest-cache-${{ runner.os }}-py${{ matrix.python-version }}-${{ github.ref_name }}-${{
50+
github.sha }}
5051
restore-keys: |
5152
pytest-cache-${{ runner.os }}-py${{ matrix.python-version }}-${{ github.ref_name }}-
5253
- name: Run unit tests
5354
run: make test-unit
5455
- name: Run entire test suite
55-
run: make test-integration
56+
# run: make test-integration
57+
run: uv run pytest ./tests/system/test_ai_agentic_test_app.py::TestAgenticApp

tests/system/__init__.py

Whitespace-only changes.

tests/system/test_apps/ai_agentic_test_app/bin/indexes.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ class Output(BaseModel):
6363
len([t for t in agent.tools if t.name == "splunk_get_indexes"]) == 1
6464
), "splunk_get_indexes not present"
6565

66+
assert len(agent.tools[0].tags) > 0, [*agent.tools[0].tags]
67+
6668
result = await agent.invoke(
6769
[
6870
HumanMessage(

0 commit comments

Comments
 (0)