Skip to content

Commit f244787

Browse files
author
mathioud
committed
remove test_parsing_relative_urls &minor fix
Signed-off-by: mathioud <georgios.mathioudakis@here.com>
1 parent 6130d90 commit f244787

1 file changed

Lines changed: 2 additions & 9 deletions

File tree

tests/test_utils.py

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def test_fetch_links(mock_get):
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:
69-
json.dump(links, file, indent=4)
69+
json.dump(relative_links, file, indent=4)
7070
check_json_results(relative_links_result_file, relative_links_expected_file, clean=False)
7171

7272

@@ -109,11 +109,4 @@ def test_parse_reqs_with_setup_requires_and_python_requires():
109109
def test_valid_python_version():
110110
assert valid_python_version("3.8", ">3.1")
111111
assert not valid_python_version("3.8.1", ">3.9")
112-
113-
114-
# def test_parsing_relative_urls():
115-
# self.index_url= test_fetch_links ("tests/data/fetch_links_test.html")
116-
# normalized_name=""
117-
# simple=PypiSimpleRepository()
118-
# assert simple.fetch_links(normalized_name)==""
119-
112+

0 commit comments

Comments
 (0)