Skip to content

Commit

Permalink
Updated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Sunandhita B authored and Sunandhita B committed Nov 22, 2024
1 parent 5e65424 commit 0ce57f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
5 changes: 1 addition & 4 deletions channel/tests/test_incoming.py
Original file line number Diff line number Diff line change
@@ -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,
Expand All @@ -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
Expand Down
5 changes: 1 addition & 4 deletions logger/tests/test_logging_data_into_db.py
Original file line number Diff line number Diff line change
@@ -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,
Expand Down

0 comments on commit 0ce57f7

Please sign in to comment.