diff options
| author | Markus Heiser <markus.heiser@darmarIT.de> | 2022-04-01 10:50:24 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-01 10:50:24 +0200 |
| commit | ed1454cfda1efd34dc78fb36f69b2b08ee7681eb (patch) | |
| tree | 299009d998c7fcf833a5a208009f99af41857a12 /tests | |
| parent | 7decb056abe2075d783480549ca0841331e2c86a (diff) | |
| parent | 6c747c40c10ee3259e8ef48b2d701a0c8f96a47d (diff) | |
Merge pull request #1039 from searxng/dependabot/pip/master/black-22.3.0
Bump black from 22.1.0 to 22.3.0
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/unit/test_webapp.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/test_webapp.py b/tests/unit/test_webapp.py index d3eaa6a58..bb09e591e 100644 --- a/tests/unit/test_webapp.py +++ b/tests/unit/test_webapp.py @@ -97,12 +97,12 @@ class ViewsTestCase(SearxTestCase): def test_index_html_post(self): result = self.app.post('/', data={'q': 'test'}) self.assertEqual(result.status_code, 308) - self.assertEqual(result.location, 'http://localhost/search') + self.assertEqual(result.location, '/search') def test_index_html_get(self): result = self.app.post('/?q=test') self.assertEqual(result.status_code, 308) - self.assertEqual(result.location, 'http://localhost/search?q=test') + self.assertEqual(result.location, '/search?q=test') def test_search_empty_html(self): result = self.app.post('/search', data={'q': ''}) |