Skip to content

Commit

Permalink
🚨 Code linting
Browse files Browse the repository at this point in the history
  • Loading branch information
HugoPerrier committed Dec 9, 2024
1 parent 8f4e373 commit c57aa56
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/gmail/test_gmail.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
import logging
import os
import pytest

import pandas as pd
import pytest

HttpRequestMock = pytest.importorskip('googleapiclient.http.HttpRequestMock')
from google.oauth2.credentials import Credentials
Credentials = pytest.importorskip('google.oauth2.credentials.Credentials')
from unittest.mock import MagicMock, patch

from melusine.connectors.gmail import GmailConnector


Expand Down Expand Up @@ -313,4 +314,4 @@ def test_gc_send_email(mocked_gc, fake_image, caplog):
{"attachment.jpg": fake_image},
)

assert "Email sent to [email protected], Message Id: 12456" in caplog.text
assert "Email sent to [email protected], Message Id: 12456" in caplog.text

0 comments on commit c57aa56

Please sign in to comment.