mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Fix example sites in metadata tags list test
This commit is contained in:
parent
d974ba898c
commit
686206161b
2 changed files with 3 additions and 3 deletions
|
|
@ -1,8 +1,8 @@
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Metadata tags as list!</title>
|
<title>Metadata tags as list!</title>
|
||||||
<meta name="custom_field" content="http://notmyidea.org" />
|
<meta name="custom_field" content="https://getpelican.com" />
|
||||||
<meta name="custom_field" content="http://mrsenko.com" />
|
<meta name="custom_field" content="https://www.eff.org" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
When custom metadata tags are specified more than once
|
When custom metadata tags are specified more than once
|
||||||
|
|
|
||||||
|
|
@ -666,7 +666,7 @@ class HTMLReaderTest(ReaderTest):
|
||||||
def test_article_with_multiple_similar_metadata_tags(self):
|
def test_article_with_multiple_similar_metadata_tags(self):
|
||||||
page = self.read_file(path='article_with_multiple_metadata_tags.html')
|
page = self.read_file(path='article_with_multiple_metadata_tags.html')
|
||||||
expected = {
|
expected = {
|
||||||
'custom_field': ['http://notmyidea.org', 'http://mrsenko.com'],
|
'custom_field': ['https://getpelican.com', 'https://www.eff.org'],
|
||||||
}
|
}
|
||||||
|
|
||||||
self.assertDictHasSubset(page.metadata, expected)
|
self.assertDictHasSubset(page.metadata, expected)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue