Skip to content

Commit b2adca8

Browse files
committed
Re-generate test data
This fixes several test cases in e.g. `test_cli.py`, `test_apy.py`. Signed-off-by: Frank Viernau <frank_viernau@epam.com>
1 parent 2476c73 commit b2adca8

9 files changed

+274
-276
lines changed

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

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

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

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

tests/data/insecure-setup-2/setup.py-expected.json

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

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

Lines changed: 53 additions & 55 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
@@ -611,12 +611,12 @@
611611
"type": "pypi",
612612
"namespace": null,
613613
"name": "werkzeug",
614-
"version": "2.3.7",
614+
"version": "3.0.0",
615615
"qualifiers": {},
616616
"subpath": null,
617617
"primary_language": "Python",
618618
"description": "The comprehensive WSGI web application library.\nWerkzeug\n========\n\n*werkzeug* German noun: \"tool\". Etymology: *werk* (\"work\"), *zeug* (\"stuff\")\n\nWerkzeug is a comprehensive `WSGI`_ web application library. It began as\na simple collection of various utilities for WSGI applications and has\nbecome one of the most advanced WSGI utility libraries.\n\nIt includes:\n\n- An interactive debugger that allows inspecting stack traces and\n source code in the browser with an interactive interpreter for any\n frame in the stack.\n- A full-featured request object with objects to interact with\n headers, query args, form data, files, and cookies.\n- A response object that can wrap other WSGI applications and handle\n streaming data.\n- A routing system for matching URLs to endpoints and generating URLs\n for endpoints, with an extensible system for capturing variables\n from URLs.\n- HTTP utilities to handle entity tags, cache control, dates, user\n agents, cookies, files, and more.\n- A threaded WSGI server for use while developing applications\n locally.\n- A test client for simulating HTTP requests during testing without\n requiring running a server.\n\nWerkzeug doesn't enforce any dependencies. It is up to the developer to\nchoose a template engine, database adapter, and even how to handle\nrequests. It can be used to build all sorts of end user applications\nsuch as blogs, wikis, or bulletin boards.\n\n`Flask`_ wraps Werkzeug, using it to handle the details of WSGI while\nproviding more structure and patterns for defining powerful\napplications.\n\n.. _WSGI: https://wsgi.readthedocs.io/en/latest/\n.. _Flask: https://www.palletsprojects.com/p/flask/\n\n\nInstalling\n----------\n\nInstall and update using `pip`_:\n\n.. code-block:: text\n\n pip install -U Werkzeug\n\n.. _pip: https://pip.pypa.io/en/stable/getting-started/\n\n\nA Simple Example\n----------------\n\n.. code-block:: python\n\n from werkzeug.wrappers import Request, Response\n\n @Request.application\n def application(request):\n return Response('Hello, World!')\n\n if __name__ == '__main__':\n from werkzeug.serving import run_simple\n run_simple('localhost', 4000, application)\n\n\nDonate\n------\n\nThe Pallets organization develops and supports Werkzeug and other\npopular packages. In order to grow the community of contributors and\nusers, and allow the maintainers to devote more time to the projects,\n`please donate today`_.\n\n.. _please donate today: https://palletsprojects.com/donate\n\n\nLinks\n-----\n\n- Documentation: https://werkzeug.palletsprojects.com/\n- Changes: https://werkzeug.palletsprojects.com/changes/\n- PyPI Releases: https://pypi.org/project/Werkzeug/\n- Source Code: https://github.com/pallets/werkzeug/\n- Issue Tracker: https://github.com/pallets/werkzeug/issues/\n- Chat: https://discord.gg/pallets",
619-
"release_date": "2023-08-14T09:30:45",
619+
"release_date": "2023-09-30T13:58:46",
620620
"parties": [
621621
{
622622
"type": "person",
@@ -639,11 +639,11 @@
639639
"Topic :: Software Development :: Libraries :: Application Frameworks"
640640
],
641641
"homepage_url": "",
642-
"download_url": "https://files.pythonhosted.org/packages/9b/59/a7c32e3d8d0e546a206e0552a2c04444544f15c1da4a01df8938d20c6ffc/werkzeug-2.3.7-py3-none-any.whl",
643-
"size": 242216,
642+
"download_url": "https://files.pythonhosted.org/packages/b6/a5/54b01f663d60d5334f6c9c87c26274e94617a4fd463d812463626423b10d/werkzeug-3.0.0-py3-none-any.whl",
643+
"size": 226556,
644644
"sha1": null,
645-
"md5": "201b5bf3fa4dd3eb572704a6e61e69de",
646-
"sha256": "effc12dba7f3bd72e605ce49807bbe692bd729c3bb122a3b91747a6ae77df528",
645+
"md5": "ceb6681d9b633493a4621914aaf95037",
646+
"sha256": "cbb2600f7eabe51dbc0502f58be0b3e1b96b893b05695ea2b35b43d4de2d9962",
647647
"sha512": null,
648648
"bug_tracking_url": "https://github.com/pallets/werkzeug/issues/",
649649
"code_view_url": "https://github.com/pallets/werkzeug/",
@@ -662,20 +662,20 @@
662662
"dependencies": [],
663663
"repository_homepage_url": null,
664664
"repository_download_url": null,
665-
"api_data_url": "https://pypi.org/pypi/werkzeug/2.3.7/json",
665+
"api_data_url": "https://pypi.org/pypi/werkzeug/3.0.0/json",
666666
"datasource_id": null,
667-
"purl": "pkg:pypi/werkzeug@2.3.7"
667+
"purl": "pkg:pypi/werkzeug@3.0.0"
668668
},
669669
{
670670
"type": "pypi",
671671
"namespace": null,
672672
"name": "werkzeug",
673-
"version": "2.3.7",
673+
"version": "3.0.0",
674674
"qualifiers": {},
675675
"subpath": null,
676676
"primary_language": "Python",
677677
"description": "The comprehensive WSGI web application library.\nWerkzeug\n========\n\n*werkzeug* German noun: \"tool\". Etymology: *werk* (\"work\"), *zeug* (\"stuff\")\n\nWerkzeug is a comprehensive `WSGI`_ web application library. It began as\na simple collection of various utilities for WSGI applications and has\nbecome one of the most advanced WSGI utility libraries.\n\nIt includes:\n\n- An interactive debugger that allows inspecting stack traces and\n source code in the browser with an interactive interpreter for any\n frame in the stack.\n- A full-featured request object with objects to interact with\n headers, query args, form data, files, and cookies.\n- A response object that can wrap other WSGI applications and handle\n streaming data.\n- A routing system for matching URLs to endpoints and generating URLs\n for endpoints, with an extensible system for capturing variables\n from URLs.\n- HTTP utilities to handle entity tags, cache control, dates, user\n agents, cookies, files, and more.\n- A threaded WSGI server for use while developing applications\n locally.\n- A test client for simulating HTTP requests during testing without\n requiring running a server.\n\nWerkzeug doesn't enforce any dependencies. It is up to the developer to\nchoose a template engine, database adapter, and even how to handle\nrequests. It can be used to build all sorts of end user applications\nsuch as blogs, wikis, or bulletin boards.\n\n`Flask`_ wraps Werkzeug, using it to handle the details of WSGI while\nproviding more structure and patterns for defining powerful\napplications.\n\n.. _WSGI: https://wsgi.readthedocs.io/en/latest/\n.. _Flask: https://www.palletsprojects.com/p/flask/\n\n\nInstalling\n----------\n\nInstall and update using `pip`_:\n\n.. code-block:: text\n\n pip install -U Werkzeug\n\n.. _pip: https://pip.pypa.io/en/stable/getting-started/\n\n\nA Simple Example\n----------------\n\n.. code-block:: python\n\n from werkzeug.wrappers import Request, Response\n\n @Request.application\n def application(request):\n return Response('Hello, World!')\n\n if __name__ == '__main__':\n from werkzeug.serving import run_simple\n run_simple('localhost', 4000, application)\n\n\nDonate\n------\n\nThe Pallets organization develops and supports Werkzeug and other\npopular packages. In order to grow the community of contributors and\nusers, and allow the maintainers to devote more time to the projects,\n`please donate today`_.\n\n.. _please donate today: https://palletsprojects.com/donate\n\n\nLinks\n-----\n\n- Documentation: https://werkzeug.palletsprojects.com/\n- Changes: https://werkzeug.palletsprojects.com/changes/\n- PyPI Releases: https://pypi.org/project/Werkzeug/\n- Source Code: https://github.com/pallets/werkzeug/\n- Issue Tracker: https://github.com/pallets/werkzeug/issues/\n- Chat: https://discord.gg/pallets",
678-
"release_date": "2023-08-14T09:30:46",
678+
"release_date": "2023-09-30T13:58:47",
679679
"parties": [
680680
{
681681
"type": "person",
@@ -698,11 +698,11 @@
698698
"Topic :: Software Development :: Libraries :: Application Frameworks"
699699
],
700700
"homepage_url": "",
701-
"download_url": "https://files.pythonhosted.org/packages/ef/56/0acc9f560053478a4987fa35c95d904f04b6915f6b5c4d1c14dc8862ba0a/werkzeug-2.3.7.tar.gz",
702-
"size": 819625,
701+
"download_url": "https://files.pythonhosted.org/packages/8c/47/75c7099c78dc207486e30cdb2b16059ca6d5c6cdcf9290f4621368bd06e4/werkzeug-3.0.0.tar.gz",
702+
"size": 801219,
703703
"sha1": null,
704-
"md5": "31bb8f7f0be8724e6da89df0f6fc5d12",
705-
"sha256": "2b8c0e447b4b9dbcc85dd97b6eeb4dcbaf6c8b6c3be0bd654e25553e0a2157d8",
704+
"md5": "efae4055e3c354a6772d12d4d5aeed44",
705+
"sha256": "3ffff4dcc32db52ef3cc94dff3000a3c2846890f3a5a51800a27b909c5e770f0",
706706
"sha512": null,
707707
"bug_tracking_url": "https://github.com/pallets/werkzeug/issues/",
708708
"code_view_url": "https://github.com/pallets/werkzeug/",
@@ -721,9 +721,9 @@
721721
"dependencies": [],
722722
"repository_homepage_url": null,
723723
"repository_download_url": null,
724-
"api_data_url": "https://pypi.org/pypi/werkzeug/2.3.7/json",
724+
"api_data_url": "https://pypi.org/pypi/werkzeug/3.0.0/json",
725725
"datasource_id": null,
726-
"purl": "pkg:pypi/werkzeug@2.3.7"
726+
"purl": "pkg:pypi/werkzeug@3.0.0"
727727
}
728728
],
729729
"resolution": [
@@ -737,7 +737,7 @@
737737
"pkg:pypi/click@8.1.7",
738738
"pkg:pypi/itsdangerous@2.1.2",
739739
"pkg:pypi/jinja2@3.1.2",
740-
"pkg:pypi/werkzeug@2.3.7"
740+
"pkg:pypi/werkzeug@3.0.0"
741741
]
742742
},
743743
{
@@ -755,7 +755,7 @@
755755
"dependencies": []
756756
},
757757
{
758-
"package": "pkg:pypi/werkzeug@2.3.7",
758+
"package": "pkg:pypi/werkzeug@3.0.0",
759759
"dependencies": [
760760
"pkg:pypi/markupsafe@2.1.3"
761761
]

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

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -611,12 +611,12 @@
611611
"type": "pypi",
612612
"namespace": null,
613613
"name": "werkzeug",
614-
"version": "2.3.7",
614+
"version": "3.0.0",
615615
"qualifiers": {},
616616
"subpath": null,
617617
"primary_language": "Python",
618618
"description": "The comprehensive WSGI web application library.\nWerkzeug\n========\n\n*werkzeug* German noun: \"tool\". Etymology: *werk* (\"work\"), *zeug* (\"stuff\")\n\nWerkzeug is a comprehensive `WSGI`_ web application library. It began as\na simple collection of various utilities for WSGI applications and has\nbecome one of the most advanced WSGI utility libraries.\n\nIt includes:\n\n- An interactive debugger that allows inspecting stack traces and\n source code in the browser with an interactive interpreter for any\n frame in the stack.\n- A full-featured request object with objects to interact with\n headers, query args, form data, files, and cookies.\n- A response object that can wrap other WSGI applications and handle\n streaming data.\n- A routing system for matching URLs to endpoints and generating URLs\n for endpoints, with an extensible system for capturing variables\n from URLs.\n- HTTP utilities to handle entity tags, cache control, dates, user\n agents, cookies, files, and more.\n- A threaded WSGI server for use while developing applications\n locally.\n- A test client for simulating HTTP requests during testing without\n requiring running a server.\n\nWerkzeug doesn't enforce any dependencies. It is up to the developer to\nchoose a template engine, database adapter, and even how to handle\nrequests. It can be used to build all sorts of end user applications\nsuch as blogs, wikis, or bulletin boards.\n\n`Flask`_ wraps Werkzeug, using it to handle the details of WSGI while\nproviding more structure and patterns for defining powerful\napplications.\n\n.. _WSGI: https://wsgi.readthedocs.io/en/latest/\n.. _Flask: https://www.palletsprojects.com/p/flask/\n\n\nInstalling\n----------\n\nInstall and update using `pip`_:\n\n.. code-block:: text\n\n pip install -U Werkzeug\n\n.. _pip: https://pip.pypa.io/en/stable/getting-started/\n\n\nA Simple Example\n----------------\n\n.. code-block:: python\n\n from werkzeug.wrappers import Request, Response\n\n @Request.application\n def application(request):\n return Response('Hello, World!')\n\n if __name__ == '__main__':\n from werkzeug.serving import run_simple\n run_simple('localhost', 4000, application)\n\n\nDonate\n------\n\nThe Pallets organization develops and supports Werkzeug and other\npopular packages. In order to grow the community of contributors and\nusers, and allow the maintainers to devote more time to the projects,\n`please donate today`_.\n\n.. _please donate today: https://palletsprojects.com/donate\n\n\nLinks\n-----\n\n- Documentation: https://werkzeug.palletsprojects.com/\n- Changes: https://werkzeug.palletsprojects.com/changes/\n- PyPI Releases: https://pypi.org/project/Werkzeug/\n- Source Code: https://github.com/pallets/werkzeug/\n- Issue Tracker: https://github.com/pallets/werkzeug/issues/\n- Chat: https://discord.gg/pallets",
619-
"release_date": "2023-08-14T09:30:45",
619+
"release_date": "2023-09-30T13:58:46",
620620
"parties": [
621621
{
622622
"type": "person",
@@ -639,11 +639,11 @@
639639
"Topic :: Software Development :: Libraries :: Application Frameworks"
640640
],
641641
"homepage_url": "",
642-
"download_url": "https://files.pythonhosted.org/packages/9b/59/a7c32e3d8d0e546a206e0552a2c04444544f15c1da4a01df8938d20c6ffc/werkzeug-2.3.7-py3-none-any.whl",
643-
"size": 242216,
642+
"download_url": "https://files.pythonhosted.org/packages/b6/a5/54b01f663d60d5334f6c9c87c26274e94617a4fd463d812463626423b10d/werkzeug-3.0.0-py3-none-any.whl",
643+
"size": 226556,
644644
"sha1": null,
645-
"md5": "201b5bf3fa4dd3eb572704a6e61e69de",
646-
"sha256": "effc12dba7f3bd72e605ce49807bbe692bd729c3bb122a3b91747a6ae77df528",
645+
"md5": "ceb6681d9b633493a4621914aaf95037",
646+
"sha256": "cbb2600f7eabe51dbc0502f58be0b3e1b96b893b05695ea2b35b43d4de2d9962",
647647
"sha512": null,
648648
"bug_tracking_url": "https://github.com/pallets/werkzeug/issues/",
649649
"code_view_url": "https://github.com/pallets/werkzeug/",
@@ -662,20 +662,20 @@
662662
"dependencies": [],
663663
"repository_homepage_url": null,
664664
"repository_download_url": null,
665-
"api_data_url": "https://pypi.org/pypi/werkzeug/2.3.7/json",
665+
"api_data_url": "https://pypi.org/pypi/werkzeug/3.0.0/json",
666666
"datasource_id": null,
667-
"purl": "pkg:pypi/werkzeug@2.3.7"
667+
"purl": "pkg:pypi/werkzeug@3.0.0"
668668
},
669669
{
670670
"type": "pypi",
671671
"namespace": null,
672672
"name": "werkzeug",
673-
"version": "2.3.7",
673+
"version": "3.0.0",
674674
"qualifiers": {},
675675
"subpath": null,
676676
"primary_language": "Python",
677677
"description": "The comprehensive WSGI web application library.\nWerkzeug\n========\n\n*werkzeug* German noun: \"tool\". Etymology: *werk* (\"work\"), *zeug* (\"stuff\")\n\nWerkzeug is a comprehensive `WSGI`_ web application library. It began as\na simple collection of various utilities for WSGI applications and has\nbecome one of the most advanced WSGI utility libraries.\n\nIt includes:\n\n- An interactive debugger that allows inspecting stack traces and\n source code in the browser with an interactive interpreter for any\n frame in the stack.\n- A full-featured request object with objects to interact with\n headers, query args, form data, files, and cookies.\n- A response object that can wrap other WSGI applications and handle\n streaming data.\n- A routing system for matching URLs to endpoints and generating URLs\n for endpoints, with an extensible system for capturing variables\n from URLs.\n- HTTP utilities to handle entity tags, cache control, dates, user\n agents, cookies, files, and more.\n- A threaded WSGI server for use while developing applications\n locally.\n- A test client for simulating HTTP requests during testing without\n requiring running a server.\n\nWerkzeug doesn't enforce any dependencies. It is up to the developer to\nchoose a template engine, database adapter, and even how to handle\nrequests. It can be used to build all sorts of end user applications\nsuch as blogs, wikis, or bulletin boards.\n\n`Flask`_ wraps Werkzeug, using it to handle the details of WSGI while\nproviding more structure and patterns for defining powerful\napplications.\n\n.. _WSGI: https://wsgi.readthedocs.io/en/latest/\n.. _Flask: https://www.palletsprojects.com/p/flask/\n\n\nInstalling\n----------\n\nInstall and update using `pip`_:\n\n.. code-block:: text\n\n pip install -U Werkzeug\n\n.. _pip: https://pip.pypa.io/en/stable/getting-started/\n\n\nA Simple Example\n----------------\n\n.. code-block:: python\n\n from werkzeug.wrappers import Request, Response\n\n @Request.application\n def application(request):\n return Response('Hello, World!')\n\n if __name__ == '__main__':\n from werkzeug.serving import run_simple\n run_simple('localhost', 4000, application)\n\n\nDonate\n------\n\nThe Pallets organization develops and supports Werkzeug and other\npopular packages. In order to grow the community of contributors and\nusers, and allow the maintainers to devote more time to the projects,\n`please donate today`_.\n\n.. _please donate today: https://palletsprojects.com/donate\n\n\nLinks\n-----\n\n- Documentation: https://werkzeug.palletsprojects.com/\n- Changes: https://werkzeug.palletsprojects.com/changes/\n- PyPI Releases: https://pypi.org/project/Werkzeug/\n- Source Code: https://github.com/pallets/werkzeug/\n- Issue Tracker: https://github.com/pallets/werkzeug/issues/\n- Chat: https://discord.gg/pallets",
678-
"release_date": "2023-08-14T09:30:46",
678+
"release_date": "2023-09-30T13:58:47",
679679
"parties": [
680680
{
681681
"type": "person",
@@ -698,11 +698,11 @@
698698
"Topic :: Software Development :: Libraries :: Application Frameworks"
699699
],
700700
"homepage_url": "",
701-
"download_url": "https://files.pythonhosted.org/packages/ef/56/0acc9f560053478a4987fa35c95d904f04b6915f6b5c4d1c14dc8862ba0a/werkzeug-2.3.7.tar.gz",
702-
"size": 819625,
701+
"download_url": "https://files.pythonhosted.org/packages/8c/47/75c7099c78dc207486e30cdb2b16059ca6d5c6cdcf9290f4621368bd06e4/werkzeug-3.0.0.tar.gz",
702+
"size": 801219,
703703
"sha1": null,
704-
"md5": "31bb8f7f0be8724e6da89df0f6fc5d12",
705-
"sha256": "2b8c0e447b4b9dbcc85dd97b6eeb4dcbaf6c8b6c3be0bd654e25553e0a2157d8",
704+
"md5": "efae4055e3c354a6772d12d4d5aeed44",
705+
"sha256": "3ffff4dcc32db52ef3cc94dff3000a3c2846890f3a5a51800a27b909c5e770f0",
706706
"sha512": null,
707707
"bug_tracking_url": "https://github.com/pallets/werkzeug/issues/",
708708
"code_view_url": "https://github.com/pallets/werkzeug/",
@@ -721,9 +721,9 @@
721721
"dependencies": [],
722722
"repository_homepage_url": null,
723723
"repository_download_url": null,
724-
"api_data_url": "https://pypi.org/pypi/werkzeug/2.3.7/json",
724+
"api_data_url": "https://pypi.org/pypi/werkzeug/3.0.0/json",
725725
"datasource_id": null,
726-
"purl": "pkg:pypi/werkzeug@2.3.7"
726+
"purl": "pkg:pypi/werkzeug@3.0.0"
727727
}
728728
],
729729
"resolution": [
@@ -760,7 +760,7 @@
760760
{
761761
"key": "werkzeug",
762762
"package_name": "werkzeug",
763-
"installed_version": "2.3.7",
763+
"installed_version": "3.0.0",
764764
"dependencies": [
765765
{
766766
"key": "markupsafe",

0 commit comments

Comments
 (0)