Skip to content

Commit

Permalink
mypy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ohachimOs committed Dec 2, 2024
1 parent 3b0d931 commit f48609f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/trufflehog_test.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
"""Unittest for truflehog agent."""

from typing import Dict
import logging
from typing import Dict

import pytest
from ostorlab.agent.message import message
from pytest_mock import plugin

Expand Down Expand Up @@ -200,7 +201,7 @@ def testTrufflehog_whenProcessingSecrets_shouldLogNonCriticalMessagesAtDebugLeve
agent_persist_mock: Dict[str | bytes, str | bytes],
mocker: plugin.MockerFixture,
agent_mock: list[message.Message],
caplog,
caplog: pytest.LogCaptureFixture,
) -> None:
"""Tests that non-critical messages are logged at debug level."""

Expand Down

0 comments on commit f48609f

Please sign in to comment.