Fix unit test

merge-requests/8/head
Bob Mottram 2020-12-13 11:31:16 +00:00
parent 1cf2ea73f9
commit 9ba729c6fd
1 changed files with 1 additions and 1 deletions

View File

@ -1683,7 +1683,7 @@ def testWebLinks():
'This post has a web links https://somesite.net\n\nAnd some other text'
linkedText = addWebLinks(exampleText)
assert \
'<a href="https://somesite.net" rel="nofollow noopener"' + \
'<a href="https://somesite.net" rel="nofollow noopener noreferrer"' + \
' target="_blank"><span class="invisible">https://' + \
'</span><span class="ellipsis">somesite.net</span></a' in linkedText