test multi-line metadata entries

This commit is contained in:
Brian S. Stephan 2021-01-17 23:58:57 -06:00
parent c25fefa9e3
commit 8a6f4d6b45
2 changed files with 2 additions and 1 deletions

View File

@ -35,7 +35,7 @@ def test_page_with_card_metadata(client):
response = client.get('/more-metadata')
assert response.status_code == 200
assert b'<meta property="og:title" content="title for the page">' in response.data
assert b'<meta property="og:description" content="description of this page">' in response.data
assert b'<meta property="og:description" content="description of this page made even longer">' in response.data
assert b'<meta property="og:image" content="http://buh.com/test.img">' in response.data

View File

@ -1,5 +1,6 @@
Title: title for the page
Description: description of this page
made even longer
Image: http://buh.com/test.img
hello