forked from Ponysearch/Ponysearch
[fix] test : the icon is included inside the <h3> element
This commit is contained in:
parent
a71b326d9e
commit
8534d8b87a
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ class ViewsTestCase(SearxTestCase):
|
||||||
)
|
)
|
||||||
result = self.app.post('/', data={'q': 'test'})
|
result = self.app.post('/', data={'q': 'test'})
|
||||||
self.assertIn(
|
self.assertIn(
|
||||||
'<h3 class="result_title"><a href="http://first.test.xyz">First <span class="highlight">Test</span></a></h3>', # noqa
|
'<h3 class="result_title"> <img width="14" height="14" class="favicon" src="static/default/img/icon_youtube.ico" /><a href="http://first.test.xyz">First <span class="highlight">Test</span></a></h3>', # noqa
|
||||||
result.data
|
result.data
|
||||||
)
|
)
|
||||||
self.assertIn(
|
self.assertIn(
|
||||||
|
|
Loading…
Reference in a new issue