mirror of
https://github.com/searxng/searxng.git
synced 2024-11-27 13:21:04 +00:00
[fix] test updates
This commit is contained in:
parent
5d9d04a16e
commit
b70f16c8c9
1 changed files with 2 additions and 2 deletions
|
@ -47,11 +47,11 @@ class ViewsTestCase(SearxTestCase):
|
|||
)
|
||||
result = self.app.post('/', data={'q': 'test'})
|
||||
self.assertIn(
|
||||
'<h3 class="result_title"><a href="http://first.test.xyz">First <b>Test</b></a></h3>', # noqa
|
||||
'<h3 class="result_title"><a href="http://first.test.xyz">First <span class="highlight">Test</span></a></h3>', # noqa
|
||||
result.data
|
||||
)
|
||||
self.assertIn(
|
||||
'<p class="content">first <b>test</b> content<br /></p>',
|
||||
'<p class="content">first <span class="highlight">test</span> content<br /></p>',
|
||||
result.data
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue