Skip to content

Commit

Permalink
Merge pull request #285 from jacebrowning/handle-windows-failures
Browse files Browse the repository at this point in the history
Handle tests that fail on Windows
  • Loading branch information
jacebrowning committed Aug 15, 2022
2 parents 24b44f5 + 4f4f488 commit 8ebff67
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,9 @@ def config_with_links(config):

return config

@pytest.mark.xfail(
os.name == "nt", reason="https://github.com/jacebrowning/gitman/issues/284"
)
def it_should_create_links(config_with_links):
expect(gitman.install(depth=1)) == True
expect(os.listdir()).contains("gmd_3")
Expand Down Expand Up @@ -1164,6 +1167,9 @@ def git_changes(
"""
)

@pytest.mark.xfail(
os.name == "nt", reason="https://github.com/jacebrowning/gitman/issues/284"
)
def it_merges_sources(config):
config.datafile.text = strip(
"""
Expand Down

0 comments on commit 8ebff67

Please sign in to comment.