Skip to content

Commit a0311e0

Browse files
authored
Merge pull request #223 from aboutcode-org/regen-all-tests
Enable regeneration of all CLI tests
2 parents 3fe968a + 7dfb059 commit a0311e0

12 files changed

+476
-201
lines changed

tests/data/azure-devops.req-310-expected.json

Lines changed: 23 additions & 24 deletions
Large diffs are not rendered by default.

tests/data/azure-devops.req-312-expected.json

Lines changed: 23 additions & 24 deletions
Large diffs are not rendered by default.

tests/data/azure-devops.req-313-expected.json

Lines changed: 23 additions & 24 deletions
Large diffs are not rendered by default.

tests/data/azure-devops.req-38-expected.json

Lines changed: 11 additions & 11 deletions
Large diffs are not rendered by default.
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
[
2+
[
3+
{
4+
"package": "pkg:pypi/[email protected]",
5+
"dependencies": [
6+
"pkg:pypi/[email protected]",
7+
"pkg:pypi/[email protected]",
8+
"pkg:pypi/[email protected]",
9+
"pkg:pypi/[email protected]"
10+
]
11+
},
12+
{
13+
"package": "pkg:pypi/[email protected]",
14+
"dependencies": [
15+
"pkg:pypi/[email protected]"
16+
]
17+
},
18+
{
19+
"package": "pkg:pypi/[email protected]",
20+
"dependencies": [
21+
"pkg:pypi/[email protected]"
22+
]
23+
},
24+
{
25+
"package": "pkg:pypi/[email protected]",
26+
"dependencies": [
27+
"pkg:pypi/[email protected]"
28+
]
29+
},
30+
{
31+
"package": "pkg:pypi/[email protected]",
32+
"dependencies": []
33+
},
34+
{
35+
"package": "pkg:pypi/[email protected]",
36+
"dependencies": []
37+
},
38+
{
39+
"package": "pkg:pypi/[email protected]",
40+
"dependencies": []
41+
},
42+
{
43+
"package": "pkg:pypi/[email protected]",
44+
"dependencies": []
45+
}
46+
],
47+
[
48+
"pkg:pypi/[email protected]",
49+
"pkg:pypi/[email protected]",
50+
"pkg:pypi/[email protected]",
51+
"pkg:pypi/[email protected]",
52+
"pkg:pypi/[email protected]",
53+
"pkg:pypi/[email protected]",
54+
"pkg:pypi/[email protected]",
55+
"pkg:pypi/[email protected]"
56+
]
57+
]
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
[
2+
[
3+
{
4+
"package": "pkg:pypi/[email protected]",
5+
"dependencies": []
6+
},
7+
{
8+
"package": "pkg:pypi/[email protected]",
9+
"dependencies": [
10+
"pkg:pypi/[email protected]",
11+
"pkg:pypi/[email protected]",
12+
"pkg:pypi/[email protected]",
13+
"pkg:pypi/[email protected]"
14+
]
15+
},
16+
{
17+
"package": "pkg:pypi/[email protected]",
18+
"dependencies": []
19+
},
20+
{
21+
"package": "pkg:pypi/[email protected]",
22+
"dependencies": [
23+
"pkg:pypi/[email protected]"
24+
]
25+
},
26+
{
27+
"package": "pkg:pypi/[email protected]",
28+
"dependencies": []
29+
},
30+
{
31+
"package": "pkg:pypi/[email protected]",
32+
"dependencies": [
33+
"pkg:pypi/[email protected]"
34+
]
35+
}
36+
],
37+
[
38+
"pkg:pypi/[email protected]",
39+
"pkg:pypi/[email protected]",
40+
"pkg:pypi/[email protected]",
41+
"pkg:pypi/[email protected]",
42+
"pkg:pypi/[email protected]",
43+
"pkg:pypi/[email protected]"
44+
]
45+
]
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
[
2+
[
3+
{
4+
"package": "pkg:pypi/[email protected]",
5+
"dependencies": [
6+
"pkg:pypi/[email protected]"
7+
]
8+
},
9+
{
10+
"package": "pkg:pypi/[email protected]",
11+
"dependencies": []
12+
},
13+
{
14+
"package": "pkg:pypi/[email protected]",
15+
"dependencies": [
16+
"pkg:pypi/[email protected]",
17+
"pkg:pypi/[email protected]",
18+
"pkg:pypi/[email protected]",
19+
"pkg:pypi/[email protected]"
20+
]
21+
},
22+
{
23+
"package": "pkg:pypi/[email protected]",
24+
"dependencies": []
25+
},
26+
{
27+
"package": "pkg:pypi/[email protected]",
28+
"dependencies": [
29+
"pkg:pypi/[email protected]"
30+
]
31+
},
32+
{
33+
"package": "pkg:pypi/[email protected]",
34+
"dependencies": []
35+
},
36+
{
37+
"package": "pkg:pypi/[email protected]",
38+
"dependencies": [
39+
"pkg:pypi/[email protected]"
40+
]
41+
}
42+
],
43+
[
44+
"pkg:pypi/[email protected]",
45+
"pkg:pypi/[email protected]",
46+
"pkg:pypi/[email protected]",
47+
"pkg:pypi/[email protected]",
48+
"pkg:pypi/[email protected]",
49+
"pkg:pypi/[email protected]",
50+
"pkg:pypi/[email protected]"
51+
]
52+
]
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
[
2+
[
3+
{
4+
"package": "pkg:pypi/[email protected]",
5+
"dependencies": [
6+
"pkg:pypi/[email protected]"
7+
]
8+
},
9+
{
10+
"package": "pkg:pypi/[email protected]",
11+
"dependencies": []
12+
},
13+
{
14+
"package": "pkg:pypi/[email protected]",
15+
"dependencies": [
16+
"pkg:pypi/[email protected]",
17+
"pkg:pypi/[email protected]",
18+
"pkg:pypi/[email protected]",
19+
"pkg:pypi/[email protected]"
20+
]
21+
},
22+
{
23+
"package": "pkg:pypi/[email protected]",
24+
"dependencies": [
25+
"pkg:pypi/[email protected]",
26+
"pkg:pypi/[email protected]"
27+
]
28+
},
29+
{
30+
"package": "pkg:pypi/[email protected]",
31+
"dependencies": []
32+
},
33+
{
34+
"package": "pkg:pypi/[email protected]",
35+
"dependencies": [
36+
"pkg:pypi/[email protected]"
37+
]
38+
},
39+
{
40+
"package": "pkg:pypi/[email protected]",
41+
"dependencies": []
42+
},
43+
{
44+
"package": "pkg:pypi/[email protected]",
45+
"dependencies": []
46+
},
47+
{
48+
"package": "pkg:pypi/[email protected]",
49+
"dependencies": [
50+
"pkg:pypi/[email protected]"
51+
]
52+
},
53+
{
54+
"package": "pkg:pypi/[email protected]",
55+
"dependencies": []
56+
}
57+
],
58+
[
59+
"pkg:pypi/[email protected]",
60+
"pkg:pypi/[email protected]",
61+
"pkg:pypi/[email protected]",
62+
"pkg:pypi/[email protected]",
63+
"pkg:pypi/[email protected]",
64+
"pkg:pypi/[email protected]",
65+
"pkg:pypi/[email protected]",
66+
"pkg:pypi/[email protected]",
67+
"pkg:pypi/[email protected]",
68+
"pkg:pypi/[email protected]"
69+
]
70+
]
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
[
2+
[
3+
{
4+
"package": "pkg:pypi/[email protected]",
5+
"dependencies": []
6+
},
7+
{
8+
"package": "pkg:pypi/[email protected]",
9+
"dependencies": [
10+
"pkg:pypi/[email protected]",
11+
"pkg:pypi/[email protected]",
12+
"pkg:pypi/[email protected]",
13+
"pkg:pypi/[email protected]",
14+
"pkg:pypi/[email protected]"
15+
]
16+
},
17+
{
18+
"package": "pkg:pypi/[email protected]",
19+
"dependencies": [
20+
"pkg:pypi/[email protected]"
21+
]
22+
},
23+
{
24+
"package": "pkg:pypi/[email protected]",
25+
"dependencies": []
26+
},
27+
{
28+
"package": "pkg:pypi/[email protected]",
29+
"dependencies": [
30+
"pkg:pypi/[email protected]"
31+
]
32+
},
33+
{
34+
"package": "pkg:pypi/[email protected]",
35+
"dependencies": []
36+
},
37+
{
38+
"package": "pkg:pypi/[email protected]",
39+
"dependencies": [
40+
"pkg:pypi/[email protected]"
41+
]
42+
},
43+
{
44+
"package": "pkg:pypi/[email protected]",
45+
"dependencies": []
46+
}
47+
],
48+
[
49+
"pkg:pypi/[email protected]",
50+
"pkg:pypi/[email protected]",
51+
"pkg:pypi/[email protected]",
52+
"pkg:pypi/[email protected]",
53+
"pkg:pypi/[email protected]",
54+
"pkg:pypi/[email protected]",
55+
"pkg:pypi/[email protected]",
56+
"pkg:pypi/[email protected]"
57+
]
58+
]
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[
2+
[
3+
{
4+
"package": "pkg:pypi/[email protected]%2Bcu126",
5+
"dependencies": []
6+
}
7+
],
8+
[
9+
"pkg:pypi/[email protected]%2Bcu126"
10+
]
11+
]

tests/data/test-api-with-requirement-file.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3727,12 +3727,12 @@
37273727
"type": "pypi",
37283728
"namespace": null,
37293729
"name": "pip",
3730-
"version": "25.1",
3730+
"version": "25.1.1",
37313731
"qualifiers": {},
37323732
"subpath": null,
37333733
"primary_language": "Python",
37343734
"description": "The PyPA recommended tool for installing Python packages.\npip - The Python Package Installer\n==================================\n\n.. |pypi-version| image:: https://img.shields.io/pypi/v/pip.svg\n :target: https://pypi.org/project/pip/\n :alt: PyPI\n\n.. |python-versions| image:: https://img.shields.io/pypi/pyversions/pip\n :target: https://pypi.org/project/pip\n :alt: PyPI - Python Version\n\n.. |docs-badge| image:: https://readthedocs.org/projects/pip/badge/?version=latest\n :target: https://pip.pypa.io/en/latest\n :alt: Documentation\n\n|pypi-version| |python-versions| |docs-badge|\n\npip is the `package installer`_ for Python. You can use pip to install packages from the `Python Package Index`_ and other indexes.\n\nPlease take a look at our documentation for how to install and use pip:\n\n* `Installation`_\n* `Usage`_\n\nWe release updates regularly, with a new version every 3 months. Find more details in our documentation:\n\n* `Release notes`_\n* `Release process`_\n\nIf you find bugs, need help, or want to talk to the developers, please use our mailing lists or chat rooms:\n\n* `Issue tracking`_\n* `Discourse channel`_\n* `User IRC`_\n\nIf you want to get involved head over to GitHub to get the source code, look at our development documentation and feel free to jump on the developer mailing lists and chat rooms:\n\n* `GitHub page`_\n* `Development documentation`_\n* `Development IRC`_\n\nCode of Conduct\n---------------\n\nEveryone interacting in the pip project's codebases, issue trackers, chat\nrooms, and mailing lists is expected to follow the `PSF Code of Conduct`_.\n\n.. _package installer: https://packaging.python.org/guides/tool-recommendations/\n.. _Python Package Index: https://pypi.org\n.. _Installation: https://pip.pypa.io/en/stable/installation/\n.. _Usage: https://pip.pypa.io/en/stable/\n.. _Release notes: https://pip.pypa.io/en/stable/news.html\n.. _Release process: https://pip.pypa.io/en/latest/development/release-process/\n.. _GitHub page: https://github.com/pypa/pip\n.. _Development documentation: https://pip.pypa.io/en/latest/development\n.. _Issue tracking: https://github.com/pypa/pip/issues\n.. _Discourse channel: https://discuss.python.org/c/packaging\n.. _User IRC: https://kiwiirc.com/nextclient/#ircs://irc.libera.chat:+6697/pypa\n.. _Development IRC: https://kiwiirc.com/nextclient/#ircs://irc.libera.chat:+6697/pypa-dev\n.. _PSF Code of Conduct: https://github.com/pypa/.github/blob/main/CODE_OF_CONDUCT.md",
3735-
"release_date": "2025-04-26T09:45:33",
3735+
"release_date": "2025-05-02T15:13:59",
37363736
"parties": [
37373737
{
37383738
"type": "person",
@@ -3758,11 +3758,11 @@
37583758
"Topic :: Software Development :: Build Tools"
37593759
],
37603760
"homepage_url": null,
3761-
"download_url": "https://files.pythonhosted.org/packages/e0/f0/8a2806114cd36e282823fd4d8e88e3b94dc943c2569c350d0c826a49db38/pip-25.1-py3-none-any.whl",
3762-
"size": 1824948,
3761+
"download_url": "https://files.pythonhosted.org/packages/29/a2/d40fb2460e883eca5199c62cfc2463fd261f760556ae6290f88488c362c0/pip-25.1.1-py3-none-any.whl",
3762+
"size": 1825227,
37633763
"sha1": null,
3764-
"md5": "4eb2baef792e6841cfcd4c24c808421a",
3765-
"sha256": "13b4aa0aaad055020a11bec8a1c2a70a2b2d080e12d89b962266029fff0a16ba",
3764+
"md5": "6a01d861bf88ee075c6942419a04839d",
3765+
"sha256": "2913a38a2abf4ea6b64ab507bd9e967f3b53dc1ede74b01b0931e1ce548751af",
37663766
"sha512": null,
37673767
"bug_tracking_url": null,
37683768
"code_view_url": "https://github.com/pypa/pip",
@@ -3782,9 +3782,9 @@
37823782
"dependencies": [],
37833783
"repository_homepage_url": null,
37843784
"repository_download_url": null,
3785-
"api_data_url": "https://pypi.org/pypi/pip/25.1/json",
3785+
"api_data_url": "https://pypi.org/pypi/pip/25.1.1/json",
37863786
"datasource_id": null,
3787-
"purl": "pkg:pypi/[email protected]"
3787+
"purl": "pkg:pypi/[email protected].1"
37883788
},
37893789
{
37903790
"type": "pypi",
@@ -6162,13 +6162,13 @@
61626162
]
61636163
},
61646164
{
6165-
"package": "pkg:pypi/[email protected]",
6165+
"package": "pkg:pypi/[email protected].1",
61666166
"dependencies": []
61676167
},
61686168
{
61696169
"package": "pkg:pypi/[email protected]",
61706170
"dependencies": [
6171-
"pkg:pypi/[email protected]"
6171+
"pkg:pypi/[email protected].1"
61726172
]
61736173
},
61746174
{

0 commit comments

Comments
 (0)