From 70c6a70af373f23a6412967d99d49e903dbbf267 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 29 Mar 2026 22:14:01 +0000 Subject: [PATCH] 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> --- backend/app/tests/test_gmail_client.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/backend/app/tests/test_gmail_client.py b/backend/app/tests/test_gmail_client.py index f7fbb66..4ef3c23 100644 --- a/backend/app/tests/test_gmail_client.py +++ b/backend/app/tests/test_gmail_client.py @@ -17,7 +17,7 @@ from unittest.mock import MagicMock, patch 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): ids = ["z", "a", "m"] dumped = GmailClient.dump_ingested_ids(ids) - loaded = json.loads(dumped) - assert loaded == ["z", "a", "m"] - - + assert json.loads(dumped) == ["z", "a", "m"]