From 1f908a6222638b547016f5c21472ae26a76adbd2 Mon Sep 17 00:00:00 2001 From: Richard Lyons Date: Fri, 21 Jun 2024 15:58:12 +0200 Subject: [fix] engine unit tests. Enables unit tests in the engines directory by adding __init__.py, and fixups for the enabled tests. --- tests/unit/test_query.py | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/unit/test_query.py') diff --git a/tests/unit/test_query.py b/tests/unit/test_query.py index b4f5f8a0d..4c609760e 100644 --- a/tests/unit/test_query.py +++ b/tests/unit/test_query.py @@ -247,6 +247,7 @@ class TestBang(SearxTestCase): # pylint:disable=missing-class-docstring self.assertEqual(query.user_query_parts, TestBang.THE_QUERY.split(' ')) def test_specific(self): + load_engines(TEST_ENGINES) for bang in TestBang.SPECIFIC_BANGS: with self.subTest(msg="Check bang is specific", bang=bang): query_text = TestBang.THE_QUERY + ' ' + bang -- cgit v1.2.3-54-g00ecf