From 8534d8b87a02cf7713d071fa0837734f7d620b51 Mon Sep 17 00:00:00 2001
From: dalf <alex@al-f.net>
Date: Sun, 26 Oct 2014 12:01:54 +0100
Subject: [PATCH] [fix] test : the icon is included inside the <h3> element

---
 searx/tests/test_webapp.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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(