commit: 61ab5f2693cabf764bf47f1c5e4fd12a13e1f9fe
parent: 3b3921fc593e49c12ff79df1d6b15d01fe481bec
Author: Adam Tauber <asciimoo@gmail.com>
Date: Wed, 24 Dec 2014 21:15:36 +0100
[fix] view tests
Diffstat:
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" alt="youtube" /><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://second.test.xyz">Second <span class="highlight">Test</span></a></h3>', # noqa
result.data
)
self.assertIn(