Skip to content

Commit

Permalink
Merge pull request #1039 from searxng/dependabot/pip/master/black-22.3.0
Browse files Browse the repository at this point in the history
Bump black from 22.1.0 to 22.3.0
  • Loading branch information
return42 committed Apr 1, 2022
2 parents 7decb05 + 6c747c4 commit ed1454c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion requirements-dev.txt
@@ -1,7 +1,7 @@
mock==4.0.3
nose2[coverage_plugin]==0.11.0
cov-core==1.15.0
black==22.1.0
black==22.3.0
pycodestyle==2.8.0
pylint==2.13.0
splinter==0.17.0
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/test_webapp.py
Expand Up @@ -97,12 +97,12 @@ def test_index_empty(self):
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': ''})
Expand Down

0 comments on commit ed1454c

Please sign in to comment.