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

Unverified Commit 9a76fa40 authored by Akhil's avatar Akhil
Browse files

Add output format explicitly for html test

parent f4cb293f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -125,7 +125,7 @@ class ViewsTestCase(SearxTestCase):
        self.assertEqual(result.status_code, 400)

    def test_search_html(self):
        result = self.app.post('/search', data={'q': 'test'})
        result = self.app.post('/search', data={'q': 'test', 'format': 'html'})
        self.assertIn(
            b'<span class="url_o1"><span class="url_i1">http://second.test.xyz</span></span>',
            result.data,