logo

searx

My custom branche(s) on searx, a meta-search engine git clone https://hacktivis.me/git/searx.git
commit: b2f5f655959597ff42ca908d401a6b5909d15eec
parent 8fb6ea1bf12f6a167b8361795e234876f43d6273
Author: Cqoicebordel <Cqoicebordel@users.noreply.github.com>
Date:   Sat, 13 Dec 2014 20:30:19 +0100

Correct test case

Add the alt in favicon

Diffstat:

Msearx/tests/test_webapp.py2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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"> <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 + '<h3 class="result_title"> <img width="14" height="14" class="favicon" src="static/default/img/icon_youtube.ico" alt="youtube" /><a href="http://first.test.xyz">First <span class="highlight">Test</span></a></h3>', # noqa result.data ) self.assertIn(