diff --git a/osbot_fast_api/utils/testing/Mock_Obj__Fast_API__Request_Data.py b/osbot_fast_api/utils/testing/Mock_Obj__Fast_API__Request_Data.py index b8c8500..04aadcf 100644 --- a/osbot_fast_api/utils/testing/Mock_Obj__Fast_API__Request_Data.py +++ b/osbot_fast_api/utils/testing/Mock_Obj__Fast_API__Request_Data.py @@ -1,12 +1,10 @@ -from osbot_fast_api.api.Fast_API__Http_Event import Fast_API__Http_Event -from osbot_fast_api.api.Fast_API__Http_Event__Info import Fast_API__Http_Event__Info -from osbot_utils.base_classes.Type_Safe import Type_Safe -from fastapi import Request -from starlette.responses import Response -from starlette.datastructures import Address - -from osbot_utils.utils.Dev import pprint -from osbot_utils.utils.Misc import str_to_bytes +from osbot_fast_api.api.Fast_API__Http_Event import Fast_API__Http_Event +from osbot_fast_api.api.Fast_API__Http_Event__Info import Fast_API__Http_Event__Info +from osbot_utils.base_classes.Type_Safe import Type_Safe +from fastapi import Request +from starlette.responses import Response +from starlette.datastructures import Address +from osbot_utils.utils.Misc import str_to_bytes HEADER_NAME__CITY = 'cloudfront-viewer-city' HEADER_NAME__COUNTRY = 'cloudfront-viewer-country' diff --git a/tests/unit/api/test_Fast_API__Http_Events.py b/tests/unit/api/test_Fast_API__Http_Events.py index fab6d3a..f82f84a 100644 --- a/tests/unit/api/test_Fast_API__Http_Events.py +++ b/tests/unit/api/test_Fast_API__Http_Events.py @@ -1,9 +1,7 @@ -import os -from collections import deque -from decimal import Decimal -from unittest import TestCase - import pytest +from collections import deque +from decimal import Decimal +from unittest import TestCase from fastapi import Request from starlette.responses import Response from starlette.datastructures import MutableHeaders, Address diff --git a/tests/unit/utils/testing/test_Mock_Obj__Fast_API__Request_Data.py b/tests/unit/utils/testing/test_Mock_Obj__Fast_API__Request_Data.py index 3ac415b..fc84fc3 100644 --- a/tests/unit/utils/testing/test_Mock_Obj__Fast_API__Request_Data.py +++ b/tests/unit/utils/testing/test_Mock_Obj__Fast_API__Request_Data.py @@ -1,7 +1,7 @@ +from osbot_fast_api.api.Fast_API__Http_Event import Fast_API__Http_Event from decimal import Decimal from unittest import TestCase -from osbot_fast_api.api.Fast_API__Http_Event import Fast_API__Http_Event -from osbot_fast_api.utils.testing.Mock_Obj__Fast_API__Request_Data import Mock_Obj__Fast_API__Request_Data +from osbot_fast_api.utils.testing.Mock_Obj__Fast_API__Request_Data import Mock_Obj__Fast_API__Request_Data class test_Mock_Obj__Fast_API__Request_Data(TestCase):