style: apply ruff auto-fix
- Auto-formatted code with ruff format - Applied ruff linting fixes with --fix Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
@@ -8,7 +8,6 @@ from datetime import datetime, timedelta
|
|||||||
from typing import Annotated, Optional
|
from typing import Annotated, Optional
|
||||||
|
|
||||||
import httpx
|
import httpx
|
||||||
import requests
|
|
||||||
from fastapi import APIRouter, Depends, Form, HTTPException, Request, status
|
from fastapi import APIRouter, Depends, Form, HTTPException, Request, status
|
||||||
from sqlalchemy.orm import Session
|
from sqlalchemy.orm import Session
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ Focuses on uncovered lines: 98-99, 121-143, 160-161, 170-171,
|
|||||||
324-326, 400-402, 436-438.
|
324-326, 400-402, 436-438.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from unittest.mock import MagicMock, PropertyMock, patch, AsyncMock
|
from unittest.mock import AsyncMock, MagicMock, PropertyMock, patch
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
from fastapi.testclient import TestClient
|
from fastapi.testclient import TestClient
|
||||||
|
|||||||
@@ -418,6 +418,7 @@ class TestOneDriveIntegration:
|
|||||||
def test_onedrive_token_refresh_and_user_info(self, original_env: dict) -> None:
|
def test_onedrive_token_refresh_and_user_info(self, original_env: dict) -> None:
|
||||||
"""Validate token refresh and user info retrieval."""
|
"""Validate token refresh and user info retrieval."""
|
||||||
import asyncio
|
import asyncio
|
||||||
|
|
||||||
import httpx
|
import httpx
|
||||||
|
|
||||||
token = self._get_access_token(original_env)
|
token = self._get_access_token(original_env)
|
||||||
|
|||||||
Reference in New Issue
Block a user