def test_success(self, mock_role, mock_group, mock_target): mock_role.return_value = "role" mock_group.return_value = "group" mock_target.return_value = "target" self.assertEqual( {"target_list": "target", "group_list": "group", "role_list": "role"}, cmd_acl.get_config(self.mock_env) )
def test_success(self, mock_role, mock_group, mock_target): mock_role.return_value = "role" mock_group.return_value = "group" mock_target.return_value = "target" self.assertEqual( { "target_list": "target", "group_list": "group", "role_list": "role", }, cmd_acl.get_config(self.mock_env))