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

Commit ca939993 authored by Israel Yago Pereira's avatar Israel Yago Pereira
Browse files

Fix last test

parent 08d86562
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -74,7 +74,9 @@ class ViewsTestCase(SearxTestCase):
    def test_index_empty(self):
        result = self.app.post('/')
        self.assertEqual(result.status_code, 200)
        self.assertIn(b'<img src="/static/themes/etheme/img/logo_searx_a.png" alt="/e/ logo">', result.data)
        self.assertIn(b'<div class="text-hide center-block" id="main-logo">'
                      + b'<img class="center-block img-responsive" src="/static/themes/oscar/img/logo_searx_a.png"'
                      + b' alt="searx logo" />searx</div>', result.data)

    def test_index_html_post(self):
        result = self.app.post('/', data={'q': 'test'})