summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/unit/network/test_network.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/unit/network/test_network.py b/tests/unit/network/test_network.py
index 246dfd85e..e8d33240a 100644
--- a/tests/unit/network/test_network.py
+++ b/tests/unit/network/test_network.py
@@ -4,12 +4,15 @@ from mock import patch
import httpx
-from searx.network.network import Network, NETWORKS
+from searx.network.network import Network, NETWORKS, initialize
from searx.testing import SearxTestCase
class TestNetwork(SearxTestCase):
+ def setUp(self):
+ initialize()
+
def test_simple(self):
network = Network()