Skip to content

Commit

Permalink
Fix tests for windows and leave behavior for mac/linux
Browse files Browse the repository at this point in the history
  • Loading branch information
matteius committed Sep 29, 2024
1 parent cbcd06c commit 2651f99
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/integration/test_install_vcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@ def test_install_github_vcs_with_credentials(pipenv_instance_pypi, use_credentia
url = "git+https://${GIT_USERNAME}:${GIT_PASSWORD}@${GIT_REPO}@2.16"
else:
url = "git+https://${GIT_REPO}@2.16"

c = p.pipenv(f"install {url} -v")
if os.name == 'nt':
c = p.pipenv(f"install {url} -v")
else:
c = p.pipenv(f"install '{url}' -v")
assert c.returncode == 0, f"Install failed with error: {c.stderr}"

assert "dataclass-factory" in p.pipfile["packages"]
Expand Down

0 comments on commit 2651f99

Please sign in to comment.