Code cleanup: standardized imports, refined formatting for consistency, and resolved minor redundancies in services, models, monitoring, and tools modules.
This commit is contained in:
parent
e486d78e31
commit
ec0fe38861
39 changed files with 222 additions and 239 deletions
|
|
@ -31,10 +31,7 @@ def mock_profile_data():
|
|||
"created": "2025-01-01T00:00:00.000Z",
|
||||
"isVerified": True,
|
||||
"level": 50,
|
||||
"rating": {
|
||||
"rating": 1500,
|
||||
"deviation": 100
|
||||
}
|
||||
"rating": {"rating": 1500, "deviation": 100},
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
"""Integration tests for GeoGuessr MCP Server."""
|
||||
"""Integration tests for GeoGuessr MCP Server."""
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
# TODO
|
||||
# TODO
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
# TODO
|
||||
# TODO
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
"""Unit tests for GeoGuessr MCP Server."""
|
||||
"""Unit tests for GeoGuessr MCP Server."""
|
||||
|
|
|
|||
|
|
@ -19,10 +19,11 @@ TestSessionManager
|
|||
login, logout, and session management operations in an async context.
|
||||
"""
|
||||
|
||||
import pytest
|
||||
from datetime import datetime, timedelta, UTC
|
||||
from datetime import UTC, datetime, timedelta
|
||||
from unittest.mock import AsyncMock, MagicMock, patch
|
||||
|
||||
import pytest
|
||||
|
||||
from geoguessr_mcp.auth.session import SessionManager, UserSession
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -8,8 +8,8 @@ objects, computation of schema hashes, and parsing of specific data formats
|
|||
such as datetime strings, URLs, and UUIDs.
|
||||
"""
|
||||
|
||||
from geoguessr_mcp.monitoring.schema.SchemaDetector import SchemaDetector
|
||||
from geoguessr_mcp.monitoring.schema.EndpointSchema import SchemaField
|
||||
from geoguessr_mcp.monitoring.schema.SchemaDetector import SchemaDetector
|
||||
|
||||
|
||||
class TestSchemaDetector:
|
||||
|
|
@ -94,7 +94,7 @@ class TestSchemaDetector:
|
|||
"id": "123",
|
||||
"profile": {
|
||||
"name": "Test",
|
||||
}
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
# TODO
|
||||
# TODO
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
# TODO
|
||||
# TODO
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
# TODO
|
||||
# TODO
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue