on master help sign in
[fix] pep8
455ff25asciimoo
searx/tests/test_webapp.py+2−2
@@ -83,8 +83,8 @@ class ViewsTestCase(SearxTestCase):
83
83
84 self.assertEqual(
84 self.assertEqual(
85 'title,url,content,host,engine,score\r\n'
85 'title,url,content,host,engine,score\r\n'
86− 'First Test,http://first.test.xyz,first test content,first.test.xyz,startpage,\r\n'
86+ 'First Test,http://first.test.xyz,first test content,first.test.xyz,startpage,\r\n' # noqa
87− 'Second Test,http://second.test.xyz,second test content,second.test.xyz,youtube,\r\n',
87+ 'Second Test,http://second.test.xyz,second test content,second.test.xyz,youtube,\r\n', # noqa
88 result.data
88 result.data
89 )
89 )
90
90
searx/webapp.py+1−1
@@ -252,7 +252,7 @@ def list_engines():
252 """
252 """
253 return render('engines.html',
253 return render('engines.html',
254 categs=categories.items(),
254 categs=categories.items(),
255− shortcuts={y:x for x,y in engine_shortcuts.items()})
255+ shortcuts={y: x for x, y in engine_shortcuts.items()})
256
256
257
257
258@app.route('/preferences', methods=['GET', 'POST'])
258@app.route('/preferences', methods=['GET', 'POST'])