fix: remove unused DMARC_GMAIL_QUERY import and fix trailing blank line/unused variable in test_gmail_client.py
Agent-Logs-Url: https://github.com/christianlouis/dmarq/sessions/21ea643d-3111-45d7-b66b-d90967ced313 Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
This commit is contained in:
@@ -17,7 +17,7 @@ from unittest.mock import MagicMock, patch
|
|||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
from app.services.gmail_client import GmailClient, DMARC_GMAIL_QUERY
|
from app.services.gmail_client import GmailClient
|
||||||
|
|
||||||
|
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
@@ -635,7 +635,4 @@ class TestIngestedIdHelpers:
|
|||||||
def test_dump_preserves_order(self):
|
def test_dump_preserves_order(self):
|
||||||
ids = ["z", "a", "m"]
|
ids = ["z", "a", "m"]
|
||||||
dumped = GmailClient.dump_ingested_ids(ids)
|
dumped = GmailClient.dump_ingested_ids(ids)
|
||||||
loaded = json.loads(dumped)
|
assert json.loads(dumped) == ["z", "a", "m"]
|
||||||
assert loaded == ["z", "a", "m"]
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user