From cafd4cb4f812497e2ba47aa61af70c194cc0a4e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?No=C3=A9mi=20V=C3=A1nyi?= Date: Sat, 15 May 2021 21:29:04 +0200 Subject: [PATCH] Follow up /stats changes in unit test --- tests/unit/test_webapp.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/unit/test_webapp.py b/tests/unit/test_webapp.py index d3498f51..e8819fdc 100644 --- a/tests/unit/test_webapp.py +++ b/tests/unit/test_webapp.py @@ -220,8 +220,7 @@ class ViewsTestCase(SearxTestCase): def test_stats(self): result = self.app.get('/stats') - self.assertEqual(result.status_code, 200) - self.assertIn(b'

Engine stats

', result.data) + self.assertEqual(result.status_code, 404) def test_robots_txt(self): result = self.app.get('/robots.txt')