1
0
Fork 0
forked from github/pelican

Fix example sites in metadata tags list test

This commit is contained in:
Justin Mayer 2018-11-11 12:00:59 +01:00
commit 686206161b
2 changed files with 3 additions and 3 deletions

View file

@ -1,8 +1,8 @@
<html>
<head>
<title>Metadata tags as list!</title>
<meta name="custom_field" content="http://notmyidea.org" />
<meta name="custom_field" content="http://mrsenko.com" />
<meta name="custom_field" content="https://getpelican.com" />
<meta name="custom_field" content="https://www.eff.org" />
</head>
<body>
When custom metadata tags are specified more than once

View file

@ -666,7 +666,7 @@ class HTMLReaderTest(ReaderTest):
def test_article_with_multiple_similar_metadata_tags(self):
page = self.read_file(path='article_with_multiple_metadata_tags.html')
expected = {
'custom_field': ['http://notmyidea.org', 'http://mrsenko.com'],
'custom_field': ['https://getpelican.com', 'https://www.eff.org'],
}
self.assertDictHasSubset(page.metadata, expected)