From 5b91e1cc731aedb3ca585cb9cbe30f6910f7f250 Mon Sep 17 00:00:00 2001 From: hx <1367557521@qq.com> Date: Mon, 5 Oct 2026 19:20:58 +0800 Subject: [PATCH] style: sort imports --- tests/unit/llms/xai/test_xai_oauth.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/unit/llms/xai/test_xai_oauth.py b/tests/unit/llms/xai/test_xai_oauth.py index 0456c993832..0ad9cedc00e 100644 --- a/tests/unit/llms/xai/test_xai_oauth.py +++ b/tests/unit/llms/xai/test_xai_oauth.py @@ -4,24 +4,24 @@ import json import os import threading import time -from urllib.parse import parse_qs, urlparse from unittest.mock import MagicMock +from urllib.parse import parse_qs, urlparse import httpx -import litellm import pytest from click.testing import CliRunner +import litellm import litellm.llms.xai.oauth as xai_oauth_module from litellm.litellm_core_utils.get_llm_provider_logic import get_llm_provider +from litellm.llms.xai.chat.transformation import XAIChatConfig from litellm.llms.xai.oauth import ( XAI_OAUTH_CLIENT_ID, XAI_OAUTH_SCOPE, - XAIOAuthError, XAIOAuthAuthenticator, + XAIOAuthError, XAIOAuthLoginRequiredError, ) -from litellm.llms.xai.chat.transformation import XAIChatConfig from litellm.llms.xai.responses.transformation import XAIResponsesAPIConfig from litellm.types.router import GenericLiteLLMParams from litellm.utils import get_optional_params, validate_environment