Skip the symlink tests on windows

This commit is contained in:
Anthony Sottile 2016-01-14 19:03:11 -08:00
parent 896c0cfdc0
commit da882286e3

View file

@ -1,9 +1,12 @@
import os
import pytest
from pre_commit_hooks.check_symlinks import check_symlinks
from testing.util import get_resource_path
@pytest.mark.xfail(os.name == 'nt', reason='No symlink support on windows')
@pytest.mark.parametrize(('filename', 'expected_retval'), (
('broken_symlink', 1),
('working_symlink', 0),