Follow up /stats changes in unit test

This commit is contained in:
Noémi Ványi 2021-05-15 21:29:04 +02:00
parent 9b5415ea2f
commit cafd4cb4f8
1 changed files with 1 additions and 2 deletions

View File

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