summaryrefslogtreecommitdiff
path: root/tests/unit/engines/test_command.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/engines/test_command.py')
-rw-r--r--tests/unit/engines/test_command.py21
1 files changed, 3 insertions, 18 deletions
diff --git a/tests/unit/engines/test_command.py b/tests/unit/engines/test_command.py
index 2123ab168..e9a88ffe1 100644
--- a/tests/unit/engines/test_command.py
+++ b/tests/unit/engines/test_command.py
@@ -1,27 +1,12 @@
# SPDX-License-Identifier: AGPL-3.0-or-later
-# pylint: disable=missing-module-docstring
-
-'''
-searx is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
-
-searx is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with searx. If not, see < http://www.gnu.org/licenses/ >.
-
-'''
+# pylint: disable=missing-module-docstring,disable=missing-class-docstring,invalid-name
from searx.engines import command as command_engine
from tests import SearxTestCase
-class TestCommandEngine(SearxTestCase): # pylint: disable=missing-class-docstring
+class TestCommandEngine(SearxTestCase):
+
def test_basic_seq_command_engine(self):
ls_engine = command_engine
ls_engine.command = ['seq', '{{QUERY}}']