summaryrefslogtreecommitdiff
path: root/searx/tests/test_webapp.py
diff options
context:
space:
mode:
authordalf <alex@al-f.net>2014-10-26 12:01:54 +0100
committerdalf <alex@al-f.net>2014-10-26 12:01:54 +0100
commit8534d8b87a02cf7713d071fa0837734f7d620b51 (patch)
treefc886f10f35a2a9f6e6a4a8c421c50b120b8f7d0 /searx/tests/test_webapp.py
parenta71b326d9e210da2d4ed67fade819c0433fb95d3 (diff)
downloadsearxng-8534d8b87a02cf7713d071fa0837734f7d620b51.tar.gz
searxng-8534d8b87a02cf7713d071fa0837734f7d620b51.zip
[fix] test : the icon is included inside the <h3> element
Diffstat (limited to 'searx/tests/test_webapp.py')
-rw-r--r--searx/tests/test_webapp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/tests/test_webapp.py b/searx/tests/test_webapp.py
index 9cf586180..7771567f0 100644
--- a/searx/tests/test_webapp.py
+++ b/searx/tests/test_webapp.py
@@ -49,7 +49,7 @@ class ViewsTestCase(SearxTestCase):
)
result = self.app.post('/', data={'q': 'test'})
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
)
self.assertIn(