mirror of https://gitlab.com/bashrc2/epicyon
Fix unit test
parent
1cf2ea73f9
commit
9ba729c6fd
2
tests.py
2
tests.py
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue