Skip to content

Commit 9e782bd

Browse files
committed
fix flake8 code checks
Signed-off-by: Chris Snow <[email protected]>
1 parent abb7fcb commit 9e782bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/cli/cli_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
import requests
2828
import six
29-
from mock import MagicMock, mock, mock_open, patch
29+
from mock import mock, mock_open, patch
3030

3131
if six.PY2:
3232
from io import BytesIO as StringIO # noqa: F811
@@ -123,7 +123,7 @@ def test_configure_cli_with_existing_hpecp_conf(self):
123123
builtins_name = "builtins.open"
124124

125125
m = mock_open(read_data=mock_data)
126-
with patch(builtins_name, m) as mock_file:
126+
with patch(builtins_name, m):
127127

128128
# mock the input capture to simulate user input
129129
# TODO: we want to send different data for each parameter

0 commit comments

Comments
 (0)