mirror of https://github.com/searx/searx
Merge pull request #2807 from kvch/fix-master-failure
Cherry-pick initialization fixes to make master stable
This commit is contained in:
commit
0627fab511
|
@ -4,12 +4,15 @@ from mock import patch
|
||||||
|
|
||||||
import httpx
|
import httpx
|
||||||
|
|
||||||
from searx.network.network import Network, NETWORKS
|
from searx.network.network import Network, NETWORKS, initialize
|
||||||
from searx.testing import SearxTestCase
|
from searx.testing import SearxTestCase
|
||||||
|
|
||||||
|
|
||||||
class TestNetwork(SearxTestCase):
|
class TestNetwork(SearxTestCase):
|
||||||
|
|
||||||
|
def setUp(self):
|
||||||
|
initialize()
|
||||||
|
|
||||||
def test_simple(self):
|
def test_simple(self):
|
||||||
network = Network()
|
network = Network()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue