diff options
| author | Noémi Ványi <kvch@users.noreply.github.com> | 2019-06-30 13:45:09 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-06-30 13:45:09 +0200 |
| commit | 6c750528749afcfd878347df78ccd45aaf8afcd6 (patch) | |
| tree | 6d345fd9d6537dc712d2d7b705e62af50e242332 /tests/unit | |
| parent | 06979fa0829697ed3b0b1946a2ef7b43f308e2c4 (diff) | |
| parent | 4c768f9fe6e43936d3f06ad619a45fe07fa8bebf (diff) | |
Merge branch 'master' into ne/improve-infinite-scroll
Diffstat (limited to 'tests/unit')
| -rw-r--r-- | tests/unit/test_webapp.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/unit/test_webapp.py b/tests/unit/test_webapp.py index e6739bfe5..fae1755d6 100644 --- a/tests/unit/test_webapp.py +++ b/tests/unit/test_webapp.py @@ -157,3 +157,9 @@ class ViewsTestCase(SearxTestCase): def test_favicon(self): result = self.app.get('/favicon.ico') 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) |