@@ -220,8 +220,7 @@ class ViewsTestCase(SearxTestCase):
221 def test_stats(self):
221 def test_stats(self):
222 result = self.app.get('/stats')
222 result = self.app.get('/stats')
223− self.assertEqual(result.status_code, 200)
223+ self.assertEqual(result.status_code, 404)
224− self.assertIn(b'<h1>Engine stats</h1>', result.data)
226 def test_robots_txt(self):
225 def test_robots_txt(self):
227 result = self.app.get('/robots.txt')
226 result = self.app.get('/robots.txt')