1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-19 02:40:11 +01:00

[fix] pep8

This commit is contained in:
asciimoo 2014-01-31 16:17:49 +01:00
parent 017c85c447
commit 455ff25a93
2 changed files with 3 additions and 3 deletions

View File

@ -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
) )

View File

@ -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'])