Skip to content

Commit

Permalink
Add failing test case for VCS with ref and user
Browse files Browse the repository at this point in the history
  • Loading branch information
mgmarino committed Jul 20, 2022
1 parent 7e4c72d commit 5ef845f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/unit/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,14 @@ def test_split_vcs_method_from_uri():
),
id="Local path with @ ref",
),
pytest.param(
"git+ssh://git@github.com/mycomp/our_repo.git@release/v318#egg=our_package",
(
"git+ssh://git@github.com/mycomp/our_repo.git#egg=our_package",
"release/v318",
),
id="git/ssh VCS with user name, @ ref, egg",
),
],
)
def test_split_ref_from_uri(uri: str, expected_output):
Expand Down

0 comments on commit 5ef845f

Please sign in to comment.