on master help sign in
Merge pull request #2807 from kvch/fix-master-failure

Cherry-pick initialization fixes to make master stable

commit0627fab511b26ed68807ce5c9beaf44d12dfc2d0 authorNoémi Ványi <kvch@users.noreply.github.com> dateMon 10 May 2021, 21:23 (5 years ago) parent5e53e944a187d4
1 file changed+4−1
tests/unit/network/test_network.py+4−1
tests/unit/network/test_network.py+4−1
@@ -4,12 +4,15 @@ from mock import patch
44
55import httpx
66
7−from searx.network.network import Network, NETWORKS
7+from searx.network.network import Network, NETWORKS, initialize
88from searx.testing import SearxTestCase
99
1010
1111class TestNetwork(SearxTestCase):
1212
13+ def setUp(self):
14+ initialize()
15+
1316 def test_simple(self):
1417 network = Network()
1518