mirror of https://github.com/searxng/searxng.git
new: dev: test for config api
This commit is contained in:
parent
535fff109f
commit
9afc1b1e83
|
@ -157,3 +157,9 @@ class ViewsTestCase(SearxTestCase):
|
||||||
def test_favicon(self):
|
def test_favicon(self):
|
||||||
result = self.app.get('/favicon.ico')
|
result = self.app.get('/favicon.ico')
|
||||||
self.assertEqual(result.status_code, 200)
|
self.assertEqual(result.status_code, 200)
|
||||||
|
|
||||||
|
def test_config(self):
|
||||||
|
result = self.app.get('/config')
|
||||||
|
self.assertEqual(result.status_code, 200)
|
||||||
|
json_result = result.get_json()
|
||||||
|
self.assertTrue(json_result)
|
||||||
|
|
Loading…
Reference in New Issue