File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments