From 3d96a9839a12649874b6d4cf9466bd3616b0a03c Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Mon, 27 Dec 2021 09:26:22 +0100 Subject: [format.python] initial formatting of the python code This patch was generated by black [1]:: make format.python [1] https://github.com/psf/black Signed-off-by: Markus Heiser --- tests/unit/engines/test_command.py | 5 +---- tests/unit/engines/test_xpath.py | 1 - 2 files changed, 1 insertion(+), 5 deletions(-) (limited to 'tests/unit/engines') diff --git a/tests/unit/engines/test_command.py b/tests/unit/engines/test_command.py index d2bb123f7..7876dd55e 100644 --- a/tests/unit/engines/test_command.py +++ b/tests/unit/engines/test_command.py @@ -114,7 +114,6 @@ INFO:werkzeug: * Debugger PIN: 299-578-362''' 'template': 'key-value.html', 'level': 'DEBUG', }, - ], [ { @@ -136,7 +135,6 @@ INFO:werkzeug: * Debugger PIN: 299-578-362''' 'level': 'INFO', }, ], - ] for i in [0, 1]: @@ -171,7 +169,7 @@ commit ''' 'commit': '\w{40}', 'author': '[\w* ]* <\w*@?\w*\.?\w*>', 'date': 'Date: .*', - 'message': '\n\n.*$' + 'message': '\n\n.*$', } expected_results = [ { @@ -195,7 +193,6 @@ commit ''' 'message': '\n\nthird interesting message', 'template': 'key-value.html', }, - ] results = git_log_engine.search(''.encode('utf-8'), {'pageno': 1}) diff --git a/tests/unit/engines/test_xpath.py b/tests/unit/engines/test_xpath.py index 287beeab4..e616ff025 100644 --- a/tests/unit/engines/test_xpath.py +++ b/tests/unit/engines/test_xpath.py @@ -6,7 +6,6 @@ from tests import SearxTestCase class TestXpathEngine(SearxTestCase): - def test_request(self): xpath.search_url = 'https://url.com/{query}' xpath.categories = [] -- cgit v1.2.3