Skip to content

Commit 45cbd66

Browse files
vzhestkovdwoz
authored andcommitted
Make pre-commit check happy
1 parent 98ec4e3 commit 45cbd66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/pytests/unit/modules/test_pip.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1521,7 +1521,7 @@ def test_list_upgrades_gt9(python_binary):
15211521
{"latest_filetype": "wheel", "version": "1.4.1", "name": "appdirs", "latest_version": "1.4.3"},
15221522
{"latest_filetype": "sdist", "version": "1.11.63", "name": "awscli", "latest_version": "1.12.1"}
15231523
]"""
1524-
mock = MagicMock(return_value={"retcode": 0, "stdout": "{}".format(eggs)})
1524+
mock = MagicMock(return_value={"retcode": 0, "stdout": f"{eggs}"})
15251525
with patch.dict(pip.__salt__, {"cmd.run_all": mock}):
15261526
with patch("salt.modules.pip.version", MagicMock(return_value="9.1.1")):
15271527
ret = pip.list_upgrades()

0 commit comments

Comments
 (0)