feat: Implement MFA authentication, add ride statistics model, and update various services, APIs, and tests across the application.

This commit is contained in:
pacnpal
2025-12-28 17:32:53 -05:00
parent aa56c46c27
commit c95f99ca10
452 changed files with 7948 additions and 6073 deletions

View File

@@ -4,11 +4,10 @@ Tests for ContractValidationMiddleware.
Following Django styleguide pattern: test__<context>__<action>__<expected_outcome>
"""
import pytest
import json
from unittest.mock import Mock, patch, MagicMock
from django.test import TestCase, RequestFactory, override_settings
from django.http import JsonResponse, HttpResponse
from unittest.mock import Mock, patch
from django.http import HttpResponse, JsonResponse
from django.test import RequestFactory, TestCase, override_settings
from apps.api.v1.middleware import (
ContractValidationMiddleware,