Add TMDB rate limiting tests (22 tests, needs async mock refinement)

This commit is contained in:
2026-02-01 09:55:18 +01:00
parent 08123d40e4
commit 212b971bba
5 changed files with 647 additions and 12 deletions

View File

@@ -6,14 +6,17 @@ server restart recovery, authentication, message ordering, and broadcast filteri
import asyncio
import json
import time
from typing import List, Dict, Any
from typing import Any, Dict, List
from unittest.mock import Mock, patch
import pytest
from fastapi import WebSocket
from fastapi.testclient import TestClient
from src.server.services.websocket_service import WebSocketService, get_websocket_service
from src.server.services.websocket_service import (
WebSocketService,
get_websocket_service,
)
@pytest.fixture