Skip to content

Commit a763429

Browse files
authored
Merge pull request #192 from rowingdude/rowingdude-patch-2
Update test_mft_analyzer.py
2 parents b27a70b + f219eb5 commit a763429

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_mft_analyzer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import pytest
22
import asyncio
3-
from unittest.mock import patch, MagicMock, mock_open
3+
from unittest.mock import patch, MagicMock, AsyncMock, mock_open
44
from io import StringIO
55
from src.analyzeMFT.mft_analyzer import MftAnalyzer
66
from src.analyzeMFT.mft_record import MftRecord
@@ -207,4 +207,4 @@ async def test_analyze_with_all_flags(mock_mft_file, mock_mft_record):
207207

208208
mock_get_writer.assert_called_once_with('json')
209209
mock_writer.assert_called_once()
210-
assert 'unique_md5' in analyzer.stats
210+
assert 'unique_md5' in analyzer.stats

0 commit comments

Comments
 (0)