From e4ea235bb3092086d414bd363985fa086aae19d2 Mon Sep 17 00:00:00 2001 From: kerry Date: Fri, 2 Oct 2026 23:26:52 +0000 Subject: [PATCH] test(spend): sort stdlib imports in request tag integration tests Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- tests/integration/spend/test_spend_log_request_tags.py | 4 ++-- .../integration/spend/test_spend_log_request_tags_chaos.py | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/integration/spend/test_spend_log_request_tags.py b/tests/integration/spend/test_spend_log_request_tags.py index 15059d67aea..d0311d0e0e0 100644 --- a/tests/integration/spend/test_spend_log_request_tags.py +++ b/tests/integration/spend/test_spend_log_request_tags.py @@ -2,14 +2,14 @@ import asyncio import http.client import json import uuid +from collections.abc import Mapping, Sequence from hashlib import sha256 +from itertools import chain from pathlib import Path from typing import Final import anthropic import httpx -from collections.abc import Mapping, Sequence -from itertools import chain import openai import pytest import yaml diff --git a/tests/integration/spend/test_spend_log_request_tags_chaos.py b/tests/integration/spend/test_spend_log_request_tags_chaos.py index 21646878ce4..17bb3dde22a 100644 --- a/tests/integration/spend/test_spend_log_request_tags_chaos.py +++ b/tests/integration/spend/test_spend_log_request_tags_chaos.py @@ -1,10 +1,10 @@ import json import threading import uuid -from collections.abc import Set, Mapping, Sequence -from itertools import chain +from collections.abc import Mapping, Sequence, Set from concurrent.futures import ThreadPoolExecutor from hashlib import sha256 +from itertools import chain from pathlib import Path from typing import Final @@ -150,7 +150,7 @@ def test_burst_across_routes_records_tags_once_per_response(gateway: Gateway, tm _landed_tags(key, lambda values: len(values) == 50) -@pytest.mark.timeout(240) # proxy boot, a full outage window and post-recovery delivery exceed the 90s default +@pytest.mark.timeout(240) def test_sink_outage_does_not_lose_spend_log_tags(gateway: Gateway, tmp_path: Path) -> None: down: Final = threading.Event() delivered: Final = []