mirror of
https://github.com/ilyakooo0/searx.git
synced 2024-11-29 10:42:18 +03:00
Follow up /stats changes in unit test
This commit is contained in:
parent
9b5415ea2f
commit
cafd4cb4f8
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user