diff --git a/channel/tests/test_incoming.py b/channel/tests/test_incoming.py index a0bbf45..acd1b7b 100644 --- a/channel/tests/test_incoming.py +++ b/channel/tests/test_incoming.py @@ -1,10 +1,7 @@ import base64 -from unittest import mock from unittest.mock import patch, AsyncMock, MagicMock import pytest -from pytest_mock import mocker - from lib.data_models import ( Channel, MessageType, @@ -19,7 +16,7 @@ ChannelLogger, ) from lib.channel_handler import ChannelHandler -from src.handlers.incoming import process_incoming_messages,create_channel_logger_input +from src.handlers.incoming import process_incoming_messages @pytest.fixture diff --git a/logger/tests/test_logging_data_into_db.py b/logger/tests/test_logging_data_into_db.py index 1ff27e5..6c45aaa 100644 --- a/logger/tests/test_logging_data_into_db.py +++ b/logger/tests/test_logging_data_into_db.py @@ -1,8 +1,5 @@ -import base64 -from unittest import mock -from unittest.mock import patch, AsyncMock, MagicMock +from unittest.mock import patch import pytest -import os from src.handlers import logging_data_into_db from lib.data_models import ( Logger,