Add TMDB rate limiting tests (22 tests, needs async mock refinement)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user