on master help sign in
[fix] test updates
b70f16cAdam Tauber
searx/tests/test_webapp.py+2−2
@@ -47,11 +47,11 @@ class ViewsTestCase(SearxTestCase):
47 )
47 )
48 result = self.app.post('/', data={'q': 'test'})
48 result = self.app.post('/', data={'q': 'test'})
49 self.assertIn(
49 self.assertIn(
50− '<h3 class="result_title"><a href="http://first.test.xyz">First <b>Test</b></a></h3>', # noqa
50+ '<h3 class="result_title"><a href="http://first.test.xyz">First <span class="highlight">Test</span></a></h3>', # noqa
51 result.data
51 result.data
52 )
52 )
53 self.assertIn(
53 self.assertIn(
54− '<p class="content">first <b>test</b> content<br /></p>',
54+ '<p class="content">first <span class="highlight">test</span> content<br /></p>',
55 result.data
55 result.data
56 )
56 )
57
57