mirror of
https://github.com/searxng/searxng.git
synced 2024-11-26 21:01:01 +00:00
new: dev: test for config api
This commit is contained in:
parent
535fff109f
commit
9afc1b1e83
1 changed files with 6 additions and 0 deletions
|
@ -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 a new issue