feat: Implement initial schema and add various API, service, and management command enhancements across the application.

This commit is contained in:
pacnpal
2026-01-01 15:13:01 -05:00
parent c95f99ca10
commit b243b17af7
413 changed files with 11164 additions and 17433 deletions

View File

@@ -81,9 +81,7 @@ class ApiTestMixin:
error_code: Expected error code in response
message_contains: String that should be in error message
"""
self.assertApiResponse(
response, status_code=status_code, response_status="error"
)
self.assertApiResponse(response, status_code=status_code, response_status="error")
if error_code:
self.assertEqual(response.data["error"]["code"], error_code)
@@ -289,9 +287,7 @@ class GeographyTestMixin:
self.assertGreaterEqual(longitude, -180, "Longitude below valid range")
self.assertLessEqual(longitude, 180, "Longitude above valid range")
def assertCoordinateDistance(
self, point1: tuple, point2: tuple, max_distance_km: float
):
def assertCoordinateDistance(self, point1: tuple, point2: tuple, max_distance_km: float):
"""
Assert two geographic points are within specified distance.