on master help sign in
[fix] pep8
commit455ff25a9326691bf01a644a91ace9f314d9024c authorasciimoo <asciimoo@gmail.com> dateFri 31 Jan 2014, 16:17 (13 years ago) parent017c85c
2 files changed+3−3
searx/tests/test_webapp.py+2−2 searx/webapp.py+1−1
searx/tests/test_webapp.py+2−2
@@ -83,8 +83,8 @@ class ViewsTestCase(SearxTestCase):
8383
8484 self.assertEqual(
8585 'title,url,content,host,engine,score\r\n'
86− 'First Test,http://first.test.xyz,first test content,first.test.xyz,startpage,\r\n'
87− 'Second Test,http://second.test.xyz,second test content,second.test.xyz,youtube,\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', # noqa
8888 result.data
8989 )
9090
searx/webapp.py+1−1
@@ -252,7 +252,7 @@ def list_engines():
252252 """
253253 return render('engines.html',
254254 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()})
256256
257257
258258@app.route('/preferences', methods=['GET', 'POST'])