Skip to content

Commit 7ce3cd2

Browse files
authored
Update test_cli.py
Fix missing import Signed-off-by: Benji <[email protected]>
1 parent 39a0d8b commit 7ce3cd2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import pytest
2-
from unittest.mock import patch, MagicMock, AsyncMock
2+
from unittest.mock import patch, MagicMock, AsyncMock, mock_open
33
import sys
44
import asyncio
55
from io import StringIO
@@ -234,4 +234,4 @@ def test_main_with_config_file(mock_analyzer):
234234
assert call_args[4] == False # compute hashes
235235
assert call_args[5] == 'csv' # export format
236236
assert call_args[6] == mock_profile # profile object
237-
assert call_args[7] == 1000 # chunk size
237+
assert call_args[7] == 1000 # chunk size

0 commit comments

Comments
 (0)