Skip to content

Commit 93b274e

Browse files
committed
Missed a change to one of the tests
1 parent cfb4923 commit 93b274e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/unit/test_collector.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -587,19 +587,19 @@ def test_parse_links__yanked_reason(anchor_html: str, expected: Optional[str]) -
587587
# Test with value "true".
588588
(
589589
'<a href="/pkg1-1.0.tar.gz" data-dist-info-metadata="true"></a>',
590-
"true",
590+
MetadataFile(None),
591591
{},
592592
),
593593
# Test with a provided hash value.
594594
(
595595
'<a href="/pkg1-1.0.tar.gz" data-dist-info-metadata="sha256=aa113592bbe"></a>', # noqa: E501
596-
"sha256=aa113592bbe",
596+
MetadataFile({"sha256": "aa113592bbe"}),
597597
{},
598598
),
599599
# Test with a provided hash value for both the requirement as well as metadata.
600600
(
601601
'<a href="/pkg1-1.0.tar.gz#sha512=abc132409cb" data-dist-info-metadata="sha256=aa113592bbe"></a>', # noqa: E501
602-
"sha256=aa113592bbe",
602+
MetadataFile({"sha256": "aa113592bbe"}),
603603
{"sha512": "abc132409cb"},
604604
),
605605
],

0 commit comments

Comments
 (0)