-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8f4e373
commit c57aa56
Showing
1 changed file
with
4 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
||
|
||
|
@@ -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 |