mirror of
https://github.com/cyclotruc/gitingest.git
synced 2026-04-28 11:41:35 +00:00
Add gitingest.com to known Git hosts (#134)
This commit is contained in:
parent
8137ce1064
commit
0e74d6777f
2 changed files with 7 additions and 0 deletions
|
|
@ -17,6 +17,9 @@ async def test_parse_url_valid_https() -> None:
|
|||
"https://github.com/user/repo",
|
||||
"https://gitlab.com/user/repo",
|
||||
"https://bitbucket.org/user/repo",
|
||||
"https://gitea.com/user/repo",
|
||||
"https://codeberg.org/user/repo",
|
||||
"https://gitingest.com/user/repo",
|
||||
]
|
||||
for url in test_cases:
|
||||
result = await _parse_repo_source(url)
|
||||
|
|
@ -34,6 +37,9 @@ async def test_parse_url_valid_http() -> None:
|
|||
"http://github.com/user/repo",
|
||||
"http://gitlab.com/user/repo",
|
||||
"http://bitbucket.org/user/repo",
|
||||
"http://gitea.com/user/repo",
|
||||
"http://codeberg.org/user/repo",
|
||||
"http://gitingest.com/user/repo",
|
||||
]
|
||||
for url in test_cases:
|
||||
result = await _parse_repo_source(url)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue