From a44d40905cfff663aab0dc1c621935ea208ee3c6 Mon Sep 17 00:00:00 2001 From: PSNAppZ Date: Fri, 5 Apr 2024 18:12:27 +0530 Subject: [PATCH] Fix pre-commit issues --- tests/test_sync_mapper_controller.py | 24 ++++++++++++------------ tox.ini | 2 +- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/tests/test_sync_mapper_controller.py b/tests/test_sync_mapper_controller.py index 8e3ffe7..b365f57 100644 --- a/tests/test_sync_mapper_controller.py +++ b/tests/test_sync_mapper_controller.py @@ -1,27 +1,27 @@ -import pytest from datetime import datetime -from unittest.mock import AsyncMock, patch, MagicMock +from unittest.mock import AsyncMock, MagicMock, patch + +import pytest +from openg2p_g2pconnect_common_lib.common.schemas import ( + RequestHeader, + StatusEnum, + SyncResponseHeader, + SyncResponseStatusReasonCodeEnum, +) from openg2p_g2pconnect_common_lib.mapper.schemas import ( LinkRequest, + LinkRequestMessage, LinkResponse, - SingleLinkResponse, LinkResponseMessage, - LinkRequestMessage, SingleLinkRequest, + SingleLinkResponse, ) -from openg2p_g2pconnect_common_lib.common.schemas import ( - StatusEnum, - SyncResponseStatusReasonCodeEnum, - SyncResponseHeader, - RequestHeader, -) - from openg2p_spar_mapper_api.controllers.sync_mapper_controller import ( SyncMapperController, ) from openg2p_spar_mapper_api.services import ( - RequestValidationException, RequestValidation, + RequestValidationException, ) diff --git a/tox.ini b/tox.ini index bd31f0b..ef428e1 100644 --- a/tox.ini +++ b/tox.ini @@ -17,4 +17,4 @@ deps = [testenv:clean] deps = coverage skip_install = true -commands = coverage erase \ No newline at end of file +commands = coverage erase