Merge pull request #64 from searxng/fix-test-sideeffect

[fix] fix KeyError: 'ipv6'
This commit is contained in:
Alexandre Flament 2021-05-07 11:05:09 +02:00 committed by GitHub
commit 332e3a2a09
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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()