Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8534d8b8 authored by dalf's avatar dalf
Browse files

[fix] test : the icon is included inside the <h3> element

parent a71b326d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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(