Skip to content

Commit 1189e7b

Browse files
committed
minor test authors/fix
Signed-off-by: mathioud <[email protected]>
1 parent dec2104 commit 1189e7b

8 files changed

+42
-168
lines changed

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

+18-4
Original file line numberDiff line numberDiff line change
@@ -2341,8 +2341,15 @@
23412341
{
23422342
"type": "person",
23432343
"role": "author",
2344-
"name": "Andrey Petrov",
2345-
"email": "[email protected]",
2344+
"name": null,
2345+
"email": "Andrey Petrov <[email protected]>",
2346+
"url": null
2347+
},
2348+
{
2349+
"type": "person",
2350+
"role": "maintainer",
2351+
"name": null,
2352+
"email": "Seth Michael Larson <[email protected]>, Quentin Pradet <[email protected]>",
23462353
"url": null
23472354
}
23482355
],
@@ -2414,8 +2421,15 @@
24142421
{
24152422
"type": "person",
24162423
"role": "author",
2417-
"name": "Andrey Petrov",
2418-
"email": "[email protected]",
2424+
"name": null,
2425+
"email": "Andrey Petrov <[email protected]>",
2426+
"url": null
2427+
},
2428+
{
2429+
"type": "person",
2430+
"role": "maintainer",
2431+
"name": null,
2432+
"email": "Seth Michael Larson <[email protected]>, Quentin Pradet <[email protected]>",
24192433
"url": null
24202434
}
24212435
],

tests/data/pinned-pdt-requirements.txt-expected.json

-14
Original file line numberDiff line numberDiff line change
@@ -2710,13 +2710,6 @@
27102710
"description": "Safely add untrusted strings to HTML/XML markup.\nMarkupSafe\n==========\n\nMarkupSafe implements a text object that escapes characters so it is\nsafe to use in HTML and XML. Characters that have special meanings are\nreplaced so that they display as the actual characters. This mitigates\ninjection attacks, meaning untrusted user input can safely be displayed\non a page.\n\n\nInstalling\n----------\n\nInstall and update using `pip`_:\n\n.. code-block:: text\n\n pip install -U MarkupSafe\n\n.. _pip: https://pip.pypa.io/en/stable/getting-started/\n\n\nExamples\n--------\n\n.. code-block:: pycon\n\n >>> from markupsafe import Markup, escape\n\n >>> # escape replaces special characters and wraps in Markup\n >>> escape(\"<script>alert(document.cookie);</script>\")\n Markup('&lt;script&gt;alert(document.cookie);&lt;/script&gt;')\n\n >>> # wrap in Markup to mark text \"safe\" and prevent escaping\n >>> Markup(\"<strong>Hello</strong>\")\n Markup('<strong>hello</strong>')\n\n >>> escape(Markup(\"<strong>Hello</strong>\"))\n Markup('<strong>hello</strong>')\n\n >>> # Markup is a str subclass\n >>> # methods and operators escape their arguments\n >>> template = Markup(\"Hello <em>{name}</em>\")\n >>> template.format(name='\"World\"')\n Markup('Hello <em>&#34;World&#34;</em>')\n\n\nDonate\n------\n\nThe Pallets organization develops and supports MarkupSafe 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://markupsafe.palletsprojects.com/\n- Changes: https://markupsafe.palletsprojects.com/changes/\n- PyPI Releases: https://pypi.org/project/MarkupSafe/\n- Source Code: https://github.com/pallets/markupsafe/\n- Issue Tracker: https://github.com/pallets/markupsafe/issues/\n- Chat: https://discord.gg/pallets",
27112711
"release_date": "2023-06-02T21:43:21",
27122712
"parties": [
2713-
{
2714-
"type": "person",
2715-
"role": "author",
2716-
"name": "Armin Ronacher",
2717-
"email": "[email protected]",
2718-
"url": null
2719-
},
27202713
{
27212714
"type": "person",
27222715
"role": "maintainer",
@@ -2774,13 +2767,6 @@
27742767
"description": "Safely add untrusted strings to HTML/XML markup.\nMarkupSafe\n==========\n\nMarkupSafe implements a text object that escapes characters so it is\nsafe to use in HTML and XML. Characters that have special meanings are\nreplaced so that they display as the actual characters. This mitigates\ninjection attacks, meaning untrusted user input can safely be displayed\non a page.\n\n\nInstalling\n----------\n\nInstall and update using `pip`_:\n\n.. code-block:: text\n\n pip install -U MarkupSafe\n\n.. _pip: https://pip.pypa.io/en/stable/getting-started/\n\n\nExamples\n--------\n\n.. code-block:: pycon\n\n >>> from markupsafe import Markup, escape\n\n >>> # escape replaces special characters and wraps in Markup\n >>> escape(\"<script>alert(document.cookie);</script>\")\n Markup('&lt;script&gt;alert(document.cookie);&lt;/script&gt;')\n\n >>> # wrap in Markup to mark text \"safe\" and prevent escaping\n >>> Markup(\"<strong>Hello</strong>\")\n Markup('<strong>hello</strong>')\n\n >>> escape(Markup(\"<strong>Hello</strong>\"))\n Markup('<strong>hello</strong>')\n\n >>> # Markup is a str subclass\n >>> # methods and operators escape their arguments\n >>> template = Markup(\"Hello <em>{name}</em>\")\n >>> template.format(name='\"World\"')\n Markup('Hello <em>&#34;World&#34;</em>')\n\n\nDonate\n------\n\nThe Pallets organization develops and supports MarkupSafe 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://markupsafe.palletsprojects.com/\n- Changes: https://markupsafe.palletsprojects.com/changes/\n- PyPI Releases: https://pypi.org/project/MarkupSafe/\n- Source Code: https://github.com/pallets/markupsafe/\n- Issue Tracker: https://github.com/pallets/markupsafe/issues/\n- Chat: https://discord.gg/pallets",
27752768
"release_date": "2023-06-02T21:43:45",
27762769
"parties": [
2777-
{
2778-
"type": "person",
2779-
"role": "author",
2780-
"name": "Armin Ronacher",
2781-
"email": "[email protected]",
2782-
"url": null
2783-
},
27842770
{
27852771
"type": "person",
27862772
"role": "maintainer",

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

-14
Original file line numberDiff line numberDiff line change
@@ -2710,13 +2710,6 @@
27102710
"description": "Safely add untrusted strings to HTML/XML markup.\nMarkupSafe\n==========\n\nMarkupSafe implements a text object that escapes characters so it is\nsafe to use in HTML and XML. Characters that have special meanings are\nreplaced so that they display as the actual characters. This mitigates\ninjection attacks, meaning untrusted user input can safely be displayed\non a page.\n\n\nInstalling\n----------\n\nInstall and update using `pip`_:\n\n.. code-block:: text\n\n pip install -U MarkupSafe\n\n.. _pip: https://pip.pypa.io/en/stable/getting-started/\n\n\nExamples\n--------\n\n.. code-block:: pycon\n\n >>> from markupsafe import Markup, escape\n\n >>> # escape replaces special characters and wraps in Markup\n >>> escape(\"<script>alert(document.cookie);</script>\")\n Markup('&lt;script&gt;alert(document.cookie);&lt;/script&gt;')\n\n >>> # wrap in Markup to mark text \"safe\" and prevent escaping\n >>> Markup(\"<strong>Hello</strong>\")\n Markup('<strong>hello</strong>')\n\n >>> escape(Markup(\"<strong>Hello</strong>\"))\n Markup('<strong>hello</strong>')\n\n >>> # Markup is a str subclass\n >>> # methods and operators escape their arguments\n >>> template = Markup(\"Hello <em>{name}</em>\")\n >>> template.format(name='\"World\"')\n Markup('Hello <em>&#34;World&#34;</em>')\n\n\nDonate\n------\n\nThe Pallets organization develops and supports MarkupSafe 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://markupsafe.palletsprojects.com/\n- Changes: https://markupsafe.palletsprojects.com/changes/\n- PyPI Releases: https://pypi.org/project/MarkupSafe/\n- Source Code: https://github.com/pallets/markupsafe/\n- Issue Tracker: https://github.com/pallets/markupsafe/issues/\n- Chat: https://discord.gg/pallets",
27112711
"release_date": "2023-06-02T21:43:21",
27122712
"parties": [
2713-
{
2714-
"type": "person",
2715-
"role": "author",
2716-
"name": "Armin Ronacher",
2717-
"email": "[email protected]",
2718-
"url": null
2719-
},
27202713
{
27212714
"type": "person",
27222715
"role": "maintainer",
@@ -2774,13 +2767,6 @@
27742767
"description": "Safely add untrusted strings to HTML/XML markup.\nMarkupSafe\n==========\n\nMarkupSafe implements a text object that escapes characters so it is\nsafe to use in HTML and XML. Characters that have special meanings are\nreplaced so that they display as the actual characters. This mitigates\ninjection attacks, meaning untrusted user input can safely be displayed\non a page.\n\n\nInstalling\n----------\n\nInstall and update using `pip`_:\n\n.. code-block:: text\n\n pip install -U MarkupSafe\n\n.. _pip: https://pip.pypa.io/en/stable/getting-started/\n\n\nExamples\n--------\n\n.. code-block:: pycon\n\n >>> from markupsafe import Markup, escape\n\n >>> # escape replaces special characters and wraps in Markup\n >>> escape(\"<script>alert(document.cookie);</script>\")\n Markup('&lt;script&gt;alert(document.cookie);&lt;/script&gt;')\n\n >>> # wrap in Markup to mark text \"safe\" and prevent escaping\n >>> Markup(\"<strong>Hello</strong>\")\n Markup('<strong>hello</strong>')\n\n >>> escape(Markup(\"<strong>Hello</strong>\"))\n Markup('<strong>hello</strong>')\n\n >>> # Markup is a str subclass\n >>> # methods and operators escape their arguments\n >>> template = Markup(\"Hello <em>{name}</em>\")\n >>> template.format(name='\"World\"')\n Markup('Hello <em>&#34;World&#34;</em>')\n\n\nDonate\n------\n\nThe Pallets organization develops and supports MarkupSafe 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://markupsafe.palletsprojects.com/\n- Changes: https://markupsafe.palletsprojects.com/changes/\n- PyPI Releases: https://pypi.org/project/MarkupSafe/\n- Source Code: https://github.com/pallets/markupsafe/\n- Issue Tracker: https://github.com/pallets/markupsafe/issues/\n- Chat: https://discord.gg/pallets",
27752768
"release_date": "2023-06-02T21:43:45",
27762769
"parties": [
2777-
{
2778-
"type": "person",
2779-
"role": "author",
2780-
"name": "Armin Ronacher",
2781-
"email": "[email protected]",
2782-
"url": null
2783-
},
27842770
{
27852771
"type": "person",
27862772
"role": "maintainer",

0 commit comments

Comments
 (0)