def METHOD_NAME(test_file):
    """
    Test setting grant perms on a file with test=True
    """
    expected = {
        "comment": "",
        "changes": {"grant_perms": {"Users": {"permissions": "read_execute"}}},
        "name": str(test_file),
        "result": None,
    }
    with patch.dict(win_dacl.__opts__, {"test": True}):
        result = win_file.check_perms(
            path=str(test_file),
            grant_perms={"Users": {"perms": "read_execute"}},
            inheritance=None,
        )
        assert result == expected