Skip to content

Commit 7d065b0

Browse files
author
mathioud
committed
Fix tests
Signed-off-by: mathioud <georgios.mathioudakis@here.com>
1 parent f37745f commit 7d065b0

10 files changed

Lines changed: 246 additions & 242 deletions

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

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

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

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

tests/data/frozen-requirements.txt-expected.json

Lines changed: 21 additions & 19 deletions
Large diffs are not rendered by default.

tests/data/single-url-except-simple-expected.json

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

tests/data/test-api-expected.json

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
"type": "pypi",
66
"namespace": null,
77
"name": "click",
8-
"version": "8.1.5",
8+
"version": "8.1.6",
99
"qualifiers": {},
1010
"subpath": null,
1111
"primary_language": "Python",
1212
"description": "Composable command line interface toolkit\n\\$ click\\_\n==========\n\nClick is a Python package for creating beautiful command line interfaces\nin a composable way with as little code as necessary. It's the \"Command\nLine Interface Creation Kit\". It's highly configurable but comes with\nsensible defaults out of the box.\n\nIt aims to make the process of writing command line tools quick and fun\nwhile also preventing any frustration caused by the inability to\nimplement an intended CLI API.\n\nClick in three points:\n\n- Arbitrary nesting of commands\n- Automatic help page generation\n- Supports lazy loading of subcommands at runtime\n\n\nInstalling\n----------\n\nInstall and update using `pip`_:\n\n.. code-block:: text\n\n $ pip install -U click\n\n.. _pip: https://pip.pypa.io/en/stable/getting-started/\n\n\nA Simple Example\n----------------\n\n.. code-block:: python\n\n import click\n\n @click.command()\n @click.option(\"--count\", default=1, help=\"Number of greetings.\")\n @click.option(\"--name\", prompt=\"Your name\", help=\"The person to greet.\")\n def hello(count, name):\n \"\"\"Simple program that greets NAME for a total of COUNT times.\"\"\"\n for _ in range(count):\n click.echo(f\"Hello, {name}!\")\n\n if __name__ == '__main__':\n hello()\n\n.. code-block:: text\n\n $ python hello.py --count=3\n Your name: Click\n Hello, Click!\n Hello, Click!\n Hello, Click!\n\n\nDonate\n------\n\nThe Pallets organization develops and supports Click and other popular\npackages. In order to grow the community of contributors and users, and\nallow the maintainers to devote more time to the projects, `please\ndonate today`_.\n\n.. _please donate today: https://palletsprojects.com/donate\n\n\nLinks\n-----\n\n- Documentation: https://click.palletsprojects.com/\n- Changes: https://click.palletsprojects.com/changes/\n- PyPI Releases: https://pypi.org/project/click/\n- Source Code: https://github.com/pallets/click\n- Issue Tracker: https://github.com/pallets/click/issues\n- Chat: https://discord.gg/pallets",
13-
"release_date": "2023-07-13T15:07:09",
13+
"release_date": "2023-07-18T20:05:12",
1414
"parties": [
1515
{
1616
"type": "person",
@@ -27,11 +27,11 @@
2727
"Programming Language :: Python"
2828
],
2929
"homepage_url": "https://palletsprojects.com/p/click/",
30-
"download_url": "https://files.pythonhosted.org/packages/22/b3/1da4ea0efa2e5ae410a347be614162ca08bd24a84059938aa5122d1e751b/click-8.1.5-py3-none-any.whl",
31-
"size": 98101,
30+
"download_url": "https://files.pythonhosted.org/packages/1a/70/e63223f8116931d365993d4a6b7ef653a4d920b41d03de7c59499962821f/click-8.1.6-py3-none-any.whl",
31+
"size": 97909,
3232
"sha1": null,
33-
"md5": "dc35b51c85d43170abe648acc63cdf8e",
34-
"sha256": "e576aa487d679441d7d30abb87e1b43d24fc53bffb8758443b1a9e1cee504548",
33+
"md5": "043416d14751ae24c8e8b0968b6fff78",
34+
"sha256": "fa244bb30b3b5ee2cae3da8f55c9e5e0c0e86093306301fb418eb9dc40fbded5",
3535
"sha512": null,
3636
"bug_tracking_url": "https://github.com/pallets/click/issues/",
3737
"code_view_url": "https://github.com/pallets/click/",
@@ -51,20 +51,20 @@
5151
"dependencies": [],
5252
"repository_homepage_url": null,
5353
"repository_download_url": null,
54-
"api_data_url": "https://pypi.org/pypi/click/8.1.5/json",
54+
"api_data_url": "https://pypi.org/pypi/click/8.1.6/json",
5555
"datasource_id": null,
56-
"purl": "pkg:pypi/click@8.1.5"
56+
"purl": "pkg:pypi/click@8.1.6"
5757
},
5858
{
5959
"type": "pypi",
6060
"namespace": null,
6161
"name": "click",
62-
"version": "8.1.5",
62+
"version": "8.1.6",
6363
"qualifiers": {},
6464
"subpath": null,
6565
"primary_language": "Python",
6666
"description": "Composable command line interface toolkit\n\\$ click\\_\n==========\n\nClick is a Python package for creating beautiful command line interfaces\nin a composable way with as little code as necessary. It's the \"Command\nLine Interface Creation Kit\". It's highly configurable but comes with\nsensible defaults out of the box.\n\nIt aims to make the process of writing command line tools quick and fun\nwhile also preventing any frustration caused by the inability to\nimplement an intended CLI API.\n\nClick in three points:\n\n- Arbitrary nesting of commands\n- Automatic help page generation\n- Supports lazy loading of subcommands at runtime\n\n\nInstalling\n----------\n\nInstall and update using `pip`_:\n\n.. code-block:: text\n\n $ pip install -U click\n\n.. _pip: https://pip.pypa.io/en/stable/getting-started/\n\n\nA Simple Example\n----------------\n\n.. code-block:: python\n\n import click\n\n @click.command()\n @click.option(\"--count\", default=1, help=\"Number of greetings.\")\n @click.option(\"--name\", prompt=\"Your name\", help=\"The person to greet.\")\n def hello(count, name):\n \"\"\"Simple program that greets NAME for a total of COUNT times.\"\"\"\n for _ in range(count):\n click.echo(f\"Hello, {name}!\")\n\n if __name__ == '__main__':\n hello()\n\n.. code-block:: text\n\n $ python hello.py --count=3\n Your name: Click\n Hello, Click!\n Hello, Click!\n Hello, Click!\n\n\nDonate\n------\n\nThe Pallets organization develops and supports Click and other popular\npackages. In order to grow the community of contributors and users, and\nallow the maintainers to devote more time to the projects, `please\ndonate today`_.\n\n.. _please donate today: https://palletsprojects.com/donate\n\n\nLinks\n-----\n\n- Documentation: https://click.palletsprojects.com/\n- Changes: https://click.palletsprojects.com/changes/\n- PyPI Releases: https://pypi.org/project/click/\n- Source Code: https://github.com/pallets/click\n- Issue Tracker: https://github.com/pallets/click/issues\n- Chat: https://discord.gg/pallets",
67-
"release_date": "2023-07-13T15:07:11",
67+
"release_date": "2023-07-18T20:05:13",
6868
"parties": [
6969
{
7070
"type": "person",
@@ -81,11 +81,11 @@
8181
"Programming Language :: Python"
8282
],
8383
"homepage_url": "https://palletsprojects.com/p/click/",
84-
"download_url": "https://files.pythonhosted.org/packages/7e/ad/7a6a96fab480fb2fbf52f782b2deb3abe1d2c81eca3ef68a575b5a6a4f2e/click-8.1.5.tar.gz",
85-
"size": 336199,
84+
"download_url": "https://files.pythonhosted.org/packages/72/bd/fedc277e7351917b6c4e0ac751853a97af261278a4c7808babafa8ef2120/click-8.1.6.tar.gz",
85+
"size": 336051,
8686
"sha1": null,
87-
"md5": "7ca55ba4d82321d69594e3a1a4164132",
88-
"sha256": "4be4b1af8d665c6d942909916d31a213a106800c47d0eeba73d34da3cbc11367",
87+
"md5": "0ad74cc10856930a76b0560ccc55c162",
88+
"sha256": "48ee849951919527a045bfe3bf7baa8a959c423134e1a5b98c05c20ba75a1cbd",
8989
"sha512": null,
9090
"bug_tracking_url": "https://github.com/pallets/click/issues/",
9191
"code_view_url": "https://github.com/pallets/click/",
@@ -105,9 +105,9 @@
105105
"dependencies": [],
106106
"repository_homepage_url": null,
107107
"repository_download_url": null,
108-
"api_data_url": "https://pypi.org/pypi/click/8.1.5/json",
108+
"api_data_url": "https://pypi.org/pypi/click/8.1.6/json",
109109
"datasource_id": null,
110-
"purl": "pkg:pypi/click@8.1.5"
110+
"purl": "pkg:pypi/click@8.1.6"
111111
},
112112
{
113113
"type": "pypi",
@@ -730,13 +730,13 @@
730730
],
731731
"resolution": [
732732
{
733-
"package": "pkg:pypi/click@8.1.5",
733+
"package": "pkg:pypi/click@8.1.6",
734734
"dependencies": []
735735
},
736736
{
737737
"package": "pkg:pypi/flask@2.1.2",
738738
"dependencies": [
739-
"pkg:pypi/click@8.1.5",
739+
"pkg:pypi/click@8.1.6",
740740
"pkg:pypi/itsdangerous@2.1.2",
741741
"pkg:pypi/jinja2@3.1.2",
742742
"pkg:pypi/werkzeug@2.3.6"

tests/data/test-api-pdt-expected.json

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
"type": "pypi",
66
"namespace": null,
77
"name": "click",
8-
"version": "8.1.5",
8+
"version": "8.1.6",
99
"qualifiers": {},
1010
"subpath": null,
1111
"primary_language": "Python",
1212
"description": "Composable command line interface toolkit\n\\$ click\\_\n==========\n\nClick is a Python package for creating beautiful command line interfaces\nin a composable way with as little code as necessary. It's the \"Command\nLine Interface Creation Kit\". It's highly configurable but comes with\nsensible defaults out of the box.\n\nIt aims to make the process of writing command line tools quick and fun\nwhile also preventing any frustration caused by the inability to\nimplement an intended CLI API.\n\nClick in three points:\n\n- Arbitrary nesting of commands\n- Automatic help page generation\n- Supports lazy loading of subcommands at runtime\n\n\nInstalling\n----------\n\nInstall and update using `pip`_:\n\n.. code-block:: text\n\n $ pip install -U click\n\n.. _pip: https://pip.pypa.io/en/stable/getting-started/\n\n\nA Simple Example\n----------------\n\n.. code-block:: python\n\n import click\n\n @click.command()\n @click.option(\"--count\", default=1, help=\"Number of greetings.\")\n @click.option(\"--name\", prompt=\"Your name\", help=\"The person to greet.\")\n def hello(count, name):\n \"\"\"Simple program that greets NAME for a total of COUNT times.\"\"\"\n for _ in range(count):\n click.echo(f\"Hello, {name}!\")\n\n if __name__ == '__main__':\n hello()\n\n.. code-block:: text\n\n $ python hello.py --count=3\n Your name: Click\n Hello, Click!\n Hello, Click!\n Hello, Click!\n\n\nDonate\n------\n\nThe Pallets organization develops and supports Click and other popular\npackages. In order to grow the community of contributors and users, and\nallow the maintainers to devote more time to the projects, `please\ndonate today`_.\n\n.. _please donate today: https://palletsprojects.com/donate\n\n\nLinks\n-----\n\n- Documentation: https://click.palletsprojects.com/\n- Changes: https://click.palletsprojects.com/changes/\n- PyPI Releases: https://pypi.org/project/click/\n- Source Code: https://github.com/pallets/click\n- Issue Tracker: https://github.com/pallets/click/issues\n- Chat: https://discord.gg/pallets",
13-
"release_date": "2023-07-13T15:07:09",
13+
"release_date": "2023-07-18T20:05:12",
1414
"parties": [
1515
{
1616
"type": "person",
@@ -27,11 +27,11 @@
2727
"Programming Language :: Python"
2828
],
2929
"homepage_url": "https://palletsprojects.com/p/click/",
30-
"download_url": "https://files.pythonhosted.org/packages/22/b3/1da4ea0efa2e5ae410a347be614162ca08bd24a84059938aa5122d1e751b/click-8.1.5-py3-none-any.whl",
31-
"size": 98101,
30+
"download_url": "https://files.pythonhosted.org/packages/1a/70/e63223f8116931d365993d4a6b7ef653a4d920b41d03de7c59499962821f/click-8.1.6-py3-none-any.whl",
31+
"size": 97909,
3232
"sha1": null,
33-
"md5": "dc35b51c85d43170abe648acc63cdf8e",
34-
"sha256": "e576aa487d679441d7d30abb87e1b43d24fc53bffb8758443b1a9e1cee504548",
33+
"md5": "043416d14751ae24c8e8b0968b6fff78",
34+
"sha256": "fa244bb30b3b5ee2cae3da8f55c9e5e0c0e86093306301fb418eb9dc40fbded5",
3535
"sha512": null,
3636
"bug_tracking_url": "https://github.com/pallets/click/issues/",
3737
"code_view_url": "https://github.com/pallets/click/",
@@ -51,20 +51,20 @@
5151
"dependencies": [],
5252
"repository_homepage_url": null,
5353
"repository_download_url": null,
54-
"api_data_url": "https://pypi.org/pypi/click/8.1.5/json",
54+
"api_data_url": "https://pypi.org/pypi/click/8.1.6/json",
5555
"datasource_id": null,
56-
"purl": "pkg:pypi/click@8.1.5"
56+
"purl": "pkg:pypi/click@8.1.6"
5757
},
5858
{
5959
"type": "pypi",
6060
"namespace": null,
6161
"name": "click",
62-
"version": "8.1.5",
62+
"version": "8.1.6",
6363
"qualifiers": {},
6464
"subpath": null,
6565
"primary_language": "Python",
6666
"description": "Composable command line interface toolkit\n\\$ click\\_\n==========\n\nClick is a Python package for creating beautiful command line interfaces\nin a composable way with as little code as necessary. It's the \"Command\nLine Interface Creation Kit\". It's highly configurable but comes with\nsensible defaults out of the box.\n\nIt aims to make the process of writing command line tools quick and fun\nwhile also preventing any frustration caused by the inability to\nimplement an intended CLI API.\n\nClick in three points:\n\n- Arbitrary nesting of commands\n- Automatic help page generation\n- Supports lazy loading of subcommands at runtime\n\n\nInstalling\n----------\n\nInstall and update using `pip`_:\n\n.. code-block:: text\n\n $ pip install -U click\n\n.. _pip: https://pip.pypa.io/en/stable/getting-started/\n\n\nA Simple Example\n----------------\n\n.. code-block:: python\n\n import click\n\n @click.command()\n @click.option(\"--count\", default=1, help=\"Number of greetings.\")\n @click.option(\"--name\", prompt=\"Your name\", help=\"The person to greet.\")\n def hello(count, name):\n \"\"\"Simple program that greets NAME for a total of COUNT times.\"\"\"\n for _ in range(count):\n click.echo(f\"Hello, {name}!\")\n\n if __name__ == '__main__':\n hello()\n\n.. code-block:: text\n\n $ python hello.py --count=3\n Your name: Click\n Hello, Click!\n Hello, Click!\n Hello, Click!\n\n\nDonate\n------\n\nThe Pallets organization develops and supports Click and other popular\npackages. In order to grow the community of contributors and users, and\nallow the maintainers to devote more time to the projects, `please\ndonate today`_.\n\n.. _please donate today: https://palletsprojects.com/donate\n\n\nLinks\n-----\n\n- Documentation: https://click.palletsprojects.com/\n- Changes: https://click.palletsprojects.com/changes/\n- PyPI Releases: https://pypi.org/project/click/\n- Source Code: https://github.com/pallets/click\n- Issue Tracker: https://github.com/pallets/click/issues\n- Chat: https://discord.gg/pallets",
67-
"release_date": "2023-07-13T15:07:11",
67+
"release_date": "2023-07-18T20:05:13",
6868
"parties": [
6969
{
7070
"type": "person",
@@ -81,11 +81,11 @@
8181
"Programming Language :: Python"
8282
],
8383
"homepage_url": "https://palletsprojects.com/p/click/",
84-
"download_url": "https://files.pythonhosted.org/packages/7e/ad/7a6a96fab480fb2fbf52f782b2deb3abe1d2c81eca3ef68a575b5a6a4f2e/click-8.1.5.tar.gz",
85-
"size": 336199,
84+
"download_url": "https://files.pythonhosted.org/packages/72/bd/fedc277e7351917b6c4e0ac751853a97af261278a4c7808babafa8ef2120/click-8.1.6.tar.gz",
85+
"size": 336051,
8686
"sha1": null,
87-
"md5": "7ca55ba4d82321d69594e3a1a4164132",
88-
"sha256": "4be4b1af8d665c6d942909916d31a213a106800c47d0eeba73d34da3cbc11367",
87+
"md5": "0ad74cc10856930a76b0560ccc55c162",
88+
"sha256": "48ee849951919527a045bfe3bf7baa8a959c423134e1a5b98c05c20ba75a1cbd",
8989
"sha512": null,
9090
"bug_tracking_url": "https://github.com/pallets/click/issues/",
9191
"code_view_url": "https://github.com/pallets/click/",
@@ -105,9 +105,9 @@
105105
"dependencies": [],
106106
"repository_homepage_url": null,
107107
"repository_download_url": null,
108-
"api_data_url": "https://pypi.org/pypi/click/8.1.5/json",
108+
"api_data_url": "https://pypi.org/pypi/click/8.1.6/json",
109109
"datasource_id": null,
110-
"purl": "pkg:pypi/click@8.1.5"
110+
"purl": "pkg:pypi/click@8.1.6"
111111
},
112112
{
113113
"type": "pypi",
@@ -737,7 +737,7 @@
737737
{
738738
"key": "click",
739739
"package_name": "click",
740-
"installed_version": "8.1.5",
740+
"installed_version": "8.1.6",
741741
"dependencies": []
742742
},
743743
{

tests/data/test-api-with-prefer-source.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
"type": "pypi",
66
"namespace": null,
77
"name": "click",
8-
"version": "8.1.5",
8+
"version": "8.1.6",
99
"qualifiers": {},
1010
"subpath": null,
1111
"primary_language": "Python",
1212
"description": "Composable command line interface toolkit\n\\$ click\\_\n==========\n\nClick is a Python package for creating beautiful command line interfaces\nin a composable way with as little code as necessary. It's the \"Command\nLine Interface Creation Kit\". It's highly configurable but comes with\nsensible defaults out of the box.\n\nIt aims to make the process of writing command line tools quick and fun\nwhile also preventing any frustration caused by the inability to\nimplement an intended CLI API.\n\nClick in three points:\n\n- Arbitrary nesting of commands\n- Automatic help page generation\n- Supports lazy loading of subcommands at runtime\n\n\nInstalling\n----------\n\nInstall and update using `pip`_:\n\n.. code-block:: text\n\n $ pip install -U click\n\n.. _pip: https://pip.pypa.io/en/stable/getting-started/\n\n\nA Simple Example\n----------------\n\n.. code-block:: python\n\n import click\n\n @click.command()\n @click.option(\"--count\", default=1, help=\"Number of greetings.\")\n @click.option(\"--name\", prompt=\"Your name\", help=\"The person to greet.\")\n def hello(count, name):\n \"\"\"Simple program that greets NAME for a total of COUNT times.\"\"\"\n for _ in range(count):\n click.echo(f\"Hello, {name}!\")\n\n if __name__ == '__main__':\n hello()\n\n.. code-block:: text\n\n $ python hello.py --count=3\n Your name: Click\n Hello, Click!\n Hello, Click!\n Hello, Click!\n\n\nDonate\n------\n\nThe Pallets organization develops and supports Click and other popular\npackages. In order to grow the community of contributors and users, and\nallow the maintainers to devote more time to the projects, `please\ndonate today`_.\n\n.. _please donate today: https://palletsprojects.com/donate\n\n\nLinks\n-----\n\n- Documentation: https://click.palletsprojects.com/\n- Changes: https://click.palletsprojects.com/changes/\n- PyPI Releases: https://pypi.org/project/click/\n- Source Code: https://github.com/pallets/click\n- Issue Tracker: https://github.com/pallets/click/issues\n- Chat: https://discord.gg/pallets",
13-
"release_date": "2023-07-13T15:07:11",
13+
"release_date": "2023-07-18T20:05:13",
1414
"parties": [
1515
{
1616
"type": "person",
@@ -27,11 +27,11 @@
2727
"Programming Language :: Python"
2828
],
2929
"homepage_url": "https://palletsprojects.com/p/click/",
30-
"download_url": "https://files.pythonhosted.org/packages/7e/ad/7a6a96fab480fb2fbf52f782b2deb3abe1d2c81eca3ef68a575b5a6a4f2e/click-8.1.5.tar.gz",
31-
"size": 336199,
30+
"download_url": "https://files.pythonhosted.org/packages/72/bd/fedc277e7351917b6c4e0ac751853a97af261278a4c7808babafa8ef2120/click-8.1.6.tar.gz",
31+
"size": 336051,
3232
"sha1": null,
33-
"md5": "7ca55ba4d82321d69594e3a1a4164132",
34-
"sha256": "4be4b1af8d665c6d942909916d31a213a106800c47d0eeba73d34da3cbc11367",
33+
"md5": "0ad74cc10856930a76b0560ccc55c162",
34+
"sha256": "48ee849951919527a045bfe3bf7baa8a959c423134e1a5b98c05c20ba75a1cbd",
3535
"sha512": null,
3636
"bug_tracking_url": "https://github.com/pallets/click/issues/",
3737
"code_view_url": "https://github.com/pallets/click/",
@@ -51,9 +51,9 @@
5151
"dependencies": [],
5252
"repository_homepage_url": null,
5353
"repository_download_url": null,
54-
"api_data_url": "https://pypi.org/pypi/click/8.1.5/json",
54+
"api_data_url": "https://pypi.org/pypi/click/8.1.6/json",
5555
"datasource_id": null,
56-
"purl": "pkg:pypi/click@8.1.5"
56+
"purl": "pkg:pypi/click@8.1.6"
5757
},
5858
{
5959
"type": "pypi",
@@ -367,13 +367,13 @@
367367
],
368368
"resolution": [
369369
{
370-
"package": "pkg:pypi/click@8.1.5",
370+
"package": "pkg:pypi/click@8.1.6",
371371
"dependencies": []
372372
},
373373
{
374374
"package": "pkg:pypi/flask@2.1.2",
375375
"dependencies": [
376-
"pkg:pypi/click@8.1.5",
376+
"pkg:pypi/click@8.1.6",
377377
"pkg:pypi/itsdangerous@2.1.2",
378378
"pkg:pypi/jinja2@3.1.2",
379379
"pkg:pypi/werkzeug@2.3.6"

0 commit comments

Comments
 (0)