Skip to content

Commit

Permalink
test(parsing): add test for git-forge without namespace
Browse files Browse the repository at this point in the history
During the investigation of another issue it appeared that it could be
caused by parsing in the ogr, but adding the test here didn't reveal
anything. Adding the test, just in case, as a part of the regression test
 suite, in case the issue could reappear here sometimes in the future.

Related to packit/packit-service#2670

Signed-off-by: Matej Focko <[email protected]>
  • Loading branch information
mfocko committed Dec 11, 2024
1 parent 2b78ef6 commit 4418f0f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/unit/test_parsing.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,14 @@
scheme="git",
),
),
(
"https://git.launchpad.net/dkimpy",
RepoUrl(
repo="dkimpy",
hostname="git.launchpad.net",
scheme="https",
),
),
],
)
def test_parse_git_repo(url, expected):
Expand Down

0 comments on commit 4418f0f

Please sign in to comment.