Skip to content

Commit e987814

Browse files
committed
add test results & minor fix
Signed-off-by: mathioud <[email protected]>
1 parent f244787 commit e987814

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed
+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[
2+
[
3+
"https://pypi.org/sources.whl",
4+
null
5+
]
6+
]

tests/test_utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def test_fetch_links(mock_get):
6262
realtive_links_file= test_env.get_test_loc("fetch_links_test.html")
6363
with open(realtive_links_file) as realtive_file:
6464
mock_get.return_value = realtive_file.read()
65-
relative_links = PypiSimpleRepository().fetch_links(normalized_name="")
65+
relative_links = PypiSimpleRepository().fetch_links(normalized_name="sources.whl")
6666
relative_links_result_file = test_env.get_temp_file("json")
6767
relative_links_expected_file = test_env.get_test_loc("relative-links-expected.json", must_exist=False)
6868
with open(relative_links_result_file, "w") as file:

0 commit comments

Comments
 (0)