We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5b7528 commit a419f15Copy full SHA for a419f15
src/gitingest/tests/test_parse_query.py
@@ -16,6 +16,7 @@ def test_parse_url_valid_https() -> None:
16
assert result["repo_name"] == "repo"
17
assert result["url"] == url
18
19
+
20
def test_parse_url_valid_http() -> None:
21
test_cases = [
22
"http://github.com/user/repo",
@@ -28,6 +29,7 @@ def test_parse_url_valid_http() -> None:
28
29
30
assert result["slug"] == "user-repo"
31
32
33
def test_parse_url_invalid() -> None:
34
url = "https://only-domain.com"
35
with pytest.raises(ValueError, match="Invalid repository URL"):
0 commit comments