Skip to content

Commit c3ee4a4

Browse files
committed
squash
1 parent a833cc5 commit c3ee4a4

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

tests/pytests/unit/modules/test_mac_brew_pkg.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1793,7 +1793,5 @@ def test_is_trusted_with_type_not_found():
17931793
"""
17941794
Tests is_trusted with a type filter returns False when not in list.
17951795
"""
1796-
with patch(
1797-
"salt.modules.mac_brew_pkg.list_trusted", return_value=["other/tap"]
1798-
):
1796+
with patch("salt.modules.mac_brew_pkg.list_trusted", return_value=["other/tap"]):
17991797
assert mac_brew.is_trusted("thirdparty/foo", type="tap") is False

tests/pytests/unit/states/test_pkg.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1409,7 +1409,9 @@ def test_trusted_success():
14091409
):
14101410
ret = pkg.trusted("cdalvaro/tap", type="tap")
14111411
assert ret["result"] is True
1412-
assert ret["changes"] == {"cdalvaro/tap": {"old": "untrusted", "new": "trusted"}}
1412+
assert ret["changes"] == {
1413+
"cdalvaro/tap": {"old": "untrusted", "new": "trusted"}
1414+
}
14131415
assert "now trusted" in ret["comment"]
14141416
trust_mock.assert_called_once_with("cdalvaro/tap", type="tap")
14151417

0 commit comments

Comments
 (0)