test multi-line metadata entries
This commit is contained in:
parent
c25fefa9e3
commit
8a6f4d6b45
@ -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
|
||||
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
Title: title for the page
|
||||
Description: description of this page
|
||||
made even longer
|
||||
Image: http://buh.com/test.img
|
||||
|
||||
hello
|
||||
|
Loading…
Reference in New Issue
Block a user