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):
result = self.app.get('/stats')
self.assertEqual(result.status_code, 200)
self.assertIn(b'<h1>Engine stats</h1>', result.data)
self.assertEqual(result.status_code, 404)
def test_robots_txt(self):
result = self.app.get('/robots.txt')