File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change 66
77
88@pytest .mark .parametrize ('given, expected' , [
9+ # test different resources for one project
910 (
1011 'dephell' ,
1112 'https://raw.githubusercontent.com/dephell/dephell/master/docs/changelog.md' ,
1213 ),
14+ (
15+ 'https://dephell.readthedocs.io/' ,
16+ 'https://raw.githubusercontent.com/dephell/dephell/master/docs/changelog.md' ,
17+ ),
18+ (
19+ 'https://github.com/dephell/dephell/' ,
20+ 'https://raw.githubusercontent.com/dephell/dephell/master/docs/changelog.md' ,
21+ ),
22+
23+ # test different projects
1324 (
1425 'pip' ,
1526 'https://raw.githubusercontent.com/pypa/pip/master/NEWS.rst' ,
3849 'websocket-client' ,
3950 'https://raw.githubusercontent.com/websocket-client/websocket-client/master/ChangeLog' ,
4051 ),
52+ (
53+ 'attrs' ,
54+ 'https://raw.githubusercontent.com/python-attrs/attrs/master/CHANGELOG.rst' ,
55+ ),
4156])
4257def test_get_changelog_url (given : str , expected : str ):
4358 assert get_changelog_url (given ) == expected
You can’t perform that action at this time.
0 commit comments