summaryrefslogtreecommitdiff
path: root/tests/unit/test_engine_mariadb_server.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/test_engine_mariadb_server.py')
-rw-r--r--tests/unit/test_engine_mariadb_server.py17
1 files changed, 1 insertions, 16 deletions
diff --git a/tests/unit/test_engine_mariadb_server.py b/tests/unit/test_engine_mariadb_server.py
index 423132e34..c4144a601 100644
--- a/tests/unit/test_engine_mariadb_server.py
+++ b/tests/unit/test_engine_mariadb_server.py
@@ -2,26 +2,11 @@
# pylint: disable=missing-module-docstring
from unittest.mock import MagicMock, Mock
-from searx.engines import load_engines, mariadb_server
+from searx.engines import mariadb_server
from tests import SearxTestCase
class MariadbServerTests(SearxTestCase): # pylint: disable=missing-class-docstring
- def setUp(self):
- load_engines(
- [
- {
- 'name': 'mariadb server',
- 'engine': 'mariadb_server',
- 'shortcut': 'mdb',
- 'timeout': 9.0,
- 'disabled': True,
- }
- ]
- )
-
- def tearDown(self):
- load_engines([])
def test_init_no_query_str_raises(self):
self.assertRaises(ValueError, lambda: mariadb_server.init({}))