Skip to content

Commit 3cab3e1

Browse files
committed
fix: add new urls to tests
1 parent 0819413 commit 3cab3e1

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tests/test_url_transforms.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,16 @@ def test_url_transform_pypi():
8282
"https://files.pythonhosted.org/{{ name.replace('_', '-').lower() }}/{{ name.replace('_', '-').lower() }}-barf",
8383
"https://pypi.io/{{ name.replace('-', '_').lower() }}/{{ name.replace('-', '_').lower() }}-barf",
8484
"https://pypi.io/{{ name.replace('_', '-').lower() }}/{{ name.replace('_', '-').lower() }}-barf",
85+
"https://pypi.io/{{ name }}/{{ name.replace('-', '_').lower() }}-barf",
86+
"https://files.pythonhosted.org/{{ name }}/{{ name.replace('_', '-').lower() }}-barf",
87+
"https://pypi.io/{{ name }}/{{ name.replace('_', '-') }}-barf",
88+
"https://files.pythonhosted.org/{{ name }}/{{ name|lower }}-barf",
89+
"https://files.pythonhosted.org/{{ name }}/{{ name.replace('-', '_').lower() }}-barf",
90+
"https://pypi.io/{{ name }}/{{ name.replace('-', '_') }}-barf",
91+
"https://pypi.io/{{ name }}/{{ name.replace('_', '-').lower() }}-barf",
92+
"https://files.pythonhosted.org/{{ name }}/{{ name.replace('-', '_') }}-barf",
93+
"https://pypi.io/{{ name }}/{{ name|lower }}-barf",
94+
"https://files.pythonhosted.org/{{ name }}/{{ name.replace('_', '-') }}-barf",
8595
}
8696

8797
urls = set(

0 commit comments

Comments
 (0)