mirror of https://gitlab.com/bashrc2/epicyon
Extra test
parent
c8925141ba
commit
65d2e839a0
1
tests.py
1
tests.py
|
@ -4247,6 +4247,7 @@ def _testGetLinksFromContent():
|
||||||
assert links['another'] == link2
|
assert links['another'] == link2
|
||||||
|
|
||||||
contentPlain = '<p>' + removeHtml(content) + '</p>'
|
contentPlain = '<p>' + removeHtml(content) + '</p>'
|
||||||
|
assert '>@linked</a>' not in contentPlain
|
||||||
content = addLinksToContent(contentPlain, links)
|
content = addLinksToContent(contentPlain, links)
|
||||||
assert '>@linked</a>' in content
|
assert '>@linked</a>' in content
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue