diff options
| author | Noémi Ványi <kvch@users.noreply.github.com> | 2019-06-24 23:16:41 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-06-24 23:16:41 +0200 |
| commit | 4c768f9fe6e43936d3f06ad619a45fe07fa8bebf (patch) | |
| tree | 894b0b320a54d9f55a0c34a35b8229c96df0dc6f /tests | |
| parent | 48ccc6c39a9872fc0bc4043c0070ba23cf99724b (diff) | |
| parent | 1e30f19800dc80ed4484b1a10c46afc26089635c (diff) | |
Merge pull request #1590 from rachmadaniHaryono/feature/fix-config
fix: dev: python3 dict keys jsonify
Diffstat (limited to 'tests')
| -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) |