mirror of
https://github.com/searxng/searxng
synced 2024-01-01 18:24:07 +00:00
[fix] pep8
This commit is contained in:
parent
017c85c447
commit
455ff25a93
@ -83,8 +83,8 @@ class ViewsTestCase(SearxTestCase):
|
|||||||
|
|
||||||
self.assertEqual(
|
self.assertEqual(
|
||||||
'title,url,content,host,engine,score\r\n'
|
'title,url,content,host,engine,score\r\n'
|
||||||
'First Test,http://first.test.xyz,first test content,first.test.xyz,startpage,\r\n'
|
'First Test,http://first.test.xyz,first test content,first.test.xyz,startpage,\r\n' # noqa
|
||||||
'Second Test,http://second.test.xyz,second test content,second.test.xyz,youtube,\r\n',
|
'Second Test,http://second.test.xyz,second test content,second.test.xyz,youtube,\r\n', # noqa
|
||||||
result.data
|
result.data
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -252,7 +252,7 @@ def list_engines():
|
|||||||
"""
|
"""
|
||||||
return render('engines.html',
|
return render('engines.html',
|
||||||
categs=categories.items(),
|
categs=categories.items(),
|
||||||
shortcuts={y:x for x,y in engine_shortcuts.items()})
|
shortcuts={y: x for x, y in engine_shortcuts.items()})
|
||||||
|
|
||||||
|
|
||||||
@app.route('/preferences', methods=['GET', 'POST'])
|
@app.route('/preferences', methods=['GET', 'POST'])
|
||||||
|
Loading…
Reference in New Issue
Block a user