Skip to content

Commit

Permalink
skip a test in windows
Browse files Browse the repository at this point in the history
  • Loading branch information
djeebus committed Sep 9, 2022
1 parent eaa815b commit c8661f8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import inspect
import os
import shutil
import sys
from contextlib import suppress
from pathlib import Path

Expand All @@ -20,6 +21,7 @@

ROOT = os.path.join(os.path.dirname(os.path.dirname(__file__)))
TMP = os.path.join(ROOT, "tmp")
is_win = sys.platform.startswith('win')

CONFIG = """
location: deps
Expand Down Expand Up @@ -253,6 +255,7 @@ def config_with_link(config):

return config

@pytest.mark.skipif(is_win, reason="doesn't work, not sure why")
def it_should_create_links(config_with_link):
expect(gitman.install(depth=1)) == True

Expand Down

0 comments on commit c8661f8

Please sign in to comment.