on master help sign in
Follow up /stats changes in unit test
commitcafd4cb4f812497e2ba47aa61af70c194cc0a4e9 authorNoémi Ványi <sitbackandwait@gmail.com> dateSat 15 May 2021, 21:29 (5 years ago) parent9b5415e
1 file changed+1−2
tests/unit/test_webapp.py+1−2
tests/unit/test_webapp.py+1−2
@@ -220,8 +220,7 @@ class ViewsTestCase(SearxTestCase):
220220
221221 def test_stats(self):
222222 result = self.app.get('/stats')
223− self.assertEqual(result.status_code, 200)
224− self.assertIn(b'<h1>Engine stats</h1>', result.data)
223+ self.assertEqual(result.status_code, 404)
225224
226225 def test_robots_txt(self):
227226 result = self.app.get('/robots.txt')