diff --git a/searx/tests/test_webapp.py b/searx/tests/test_webapp.py index e69129d..82d4a90 100644 --- a/searx/tests/test_webapp.py +++ b/searx/tests/test_webapp.py @@ -83,8 +83,8 @@ class ViewsTestCase(SearxTestCase): self.assertEqual( 'title,url,content,host,engine,score\r\n' - 'First Test,http://first.test.xyz,first test content,first.test.xyz,startpage,\r\n' - 'Second Test,http://second.test.xyz,second test content,second.test.xyz,youtube,\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', # noqa result.data ) diff --git a/searx/webapp.py b/searx/webapp.py index 347ee96..ec8fe8f 100644 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -252,7 +252,7 @@ def list_engines(): """ return render('engines.html', 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'])