on master help sign in
[fix] test : the icon is included inside the <h3> element
commit8534d8b87a02cf7713d071fa0837734f7d620b51 authordalf <alex@al-f.net> dateSun 26 Oct 2014, 12:01 (12 years ago) parenta71b326
1 file changed+1−1
searx/tests/test_webapp.py+1−1
searx/tests/test_webapp.py+1−1
@@ -49,7 +49,7 @@ class ViewsTestCase(SearxTestCase):
4949 )
5050 result = self.app.post('/', data={'q': 'test'})
5151 self.assertIn(
52− '<h3 class="result_title"><a href="http://first.test.xyz">First <span class="highlight">Test</span></a></h3>', # noqa
52+ '<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
5353 result.data
5454 )
5555 self.assertIn(