Extra test

merge-requests/30/head
Bob Mottram 2021-07-20 19:04:36 +01:00
parent c8925141ba
commit 65d2e839a0
1 changed files with 1 additions and 0 deletions

View File

@ -4247,6 +4247,7 @@ def _testGetLinksFromContent():
assert links['another'] == link2
contentPlain = '<p>' + removeHtml(content) + '</p>'
assert '>@linked</a>' not in contentPlain
content = addLinksToContent(contentPlain, links)
assert '>@linked</a>' in content