Skip to content

test(anthropic): Stop mocking response iterator #6500

test(anthropic): Stop mocking response iterator

test(anthropic): Stop mocking response iterator #6500

Triggered via pull request March 10, 2026 12:06
Status Cancelled
Total duration 1m 58s
Artifacts 2

test-integrations-flags.yml

on: pull_request
Matrix: Flags
All Flags tests passed
3s
All Flags tests passed
Fit to window
Zoom out
Zoom in

Annotations

17 errors and 4 warnings
Flags (3.7, ubuntu-22.04)
Canceling since a higher priority waiting request for Test Flags-webb/anthropic/remove-mocks exists
Flags (3.14t, ubuntu-22.04)
Canceling since a higher priority waiting request for Test Flags-webb/anthropic/remove-mocks exists
Flags (3.14t, ubuntu-22.04)
The operation was canceled.
Flags (3.8, ubuntu-22.04)
Canceling since a higher priority waiting request for Test Flags-webb/anthropic/remove-mocks exists
Flags (3.8, ubuntu-22.04)
The operation was canceled.
Flags (3.14, ubuntu-22.04)
Canceling since a higher priority waiting request for Test Flags-webb/anthropic/remove-mocks exists
Flags (3.14, ubuntu-22.04)
The operation was canceled.
Flags (3.13, ubuntu-22.04)
Canceling since a higher priority waiting request for Test Flags-webb/anthropic/remove-mocks exists
Flags (3.13, ubuntu-22.04)
The operation was canceled.
Flags (3.12, ubuntu-22.04)
Canceling since a higher priority waiting request for Test Flags-webb/anthropic/remove-mocks exists
Flags (3.12, ubuntu-22.04)
The operation was canceled.
All Flags tests passed
Process completed with exit code 1.
Test Flags
Canceling since a higher priority waiting request for Test Flags-webb/anthropic/remove-mocks exists
Test uses undefined pytest fixture 'server_side_event_chunks': tests/integrations/anthropic/test_anthropic.py#L224
The test function `test_streaming_create_message` declares `server_side_event_chunks` as a function parameter, expecting pytest to inject it as a fixture. However, no fixture with this name is defined in any conftest.py or in the test file itself. The function `server_side_event_chunks` exists in `tests/integrations/openai_agents/test_openai_agents.py` but it's a regular function (no `@pytest.fixture` decorator) and is not accessible to the anthropic tests. Running this test would result in a pytest fixture not found error.
[3FJ-7XE] Test uses undefined pytest fixture 'server_side_event_chunks' (additional location): tests/integrations/anthropic/test_anthropic.py#L1316
The test function `test_streaming_create_message` declares `server_side_event_chunks` as a function parameter, expecting pytest to inject it as a fixture. However, no fixture with this name is defined in any conftest.py or in the test file itself. The function `server_side_event_chunks` exists in `tests/integrations/openai_agents/test_openai_agents.py` but it's a regular function (no `@pytest.fixture` decorator) and is not accessible to the anthropic tests. Running this test would result in a pytest fixture not found error.
Missing pytest fixture 'server_side_event_chunks' will cause test failure: tests/integrations/anthropic/test_anthropic.py#L224
The test function `test_streaming_create_message` declares `server_side_event_chunks` as a fixture parameter, but this fixture is not defined anywhere in the codebase. The only definition of `server_side_event_chunks` is a plain generator function in `tests/integrations/openai_agents/test_openai_agents.py`, which is not a pytest fixture and is not accessible from the anthropic tests. This will cause pytest to raise a `fixture 'server_side_event_chunks' not found` error at test collection time.
[XQD-K8S] Missing pytest fixture 'server_side_event_chunks' will cause test failure (additional location): tests/integrations/anthropic/test_anthropic.py#L1316
The test function `test_streaming_create_message` declares `server_side_event_chunks` as a fixture parameter, but this fixture is not defined anywhere in the codebase. The only definition of `server_side_event_chunks` is a plain generator function in `tests/integrations/openai_agents/test_openai_agents.py`, which is not a pytest fixture and is not accessible from the anthropic tests. This will cause pytest to raise a `fixture 'server_side_event_chunks' not found` error at test collection time.
Flags (3.10, ubuntu-22.04)
Failed to upload coverage artifact: Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
Flags (3.10, ubuntu-22.04)
Failed to upload test artifact: Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
Flags (3.7, ubuntu-22.04)
Failed to upload coverage artifact: Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
Flags (3.7, ubuntu-22.04)
Failed to upload test artifact: Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run

Artifacts

Produced during runtime
Name Size Digest
codecov-coverage-results-webb-anthropic-remove-mocks-test-flags
106 KB
sha256:b8cc46d6bc740ac857a5548b5cbc37ce82c589de782edceee4f79add8ed92044
codecov-test-results-webb-anthropic-remove-mocks-test-flags
228 Bytes
sha256:e194e66c444cd288a47cde7dd36045249b5311840c631051e3510bbdbace79a8