Fix some test imports that got botched in rebase
This commit is contained in:
parent
9a4e23a803
commit
d17e6f3392
|
@ -3,9 +3,13 @@ import asyncio
|
|||
import pytest
|
||||
|
||||
from tests.configs import LISTEN_MADDR
|
||||
|
||||
from .configs import GOSSIPSUB_PARAMS
|
||||
from .factories import FloodsubFactory, GossipsubFactory, HostFactory, PubsubFactory
|
||||
from tests.pubsub.configs import GOSSIPSUB_PARAMS
|
||||
from tests.pubsub.factories import (
|
||||
FloodsubFactory,
|
||||
GossipsubFactory,
|
||||
HostFactory,
|
||||
PubsubFactory,
|
||||
)
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
|
|
|
@ -5,11 +5,11 @@ from libp2p.host.basic_host import BasicHost
|
|||
from libp2p.pubsub.floodsub import FloodSub
|
||||
from libp2p.pubsub.gossipsub import GossipSub
|
||||
from libp2p.pubsub.pubsub import Pubsub
|
||||
from tests.configs import (
|
||||
from tests.configs import LISTEN_MADDR
|
||||
from tests.pubsub.configs import (
|
||||
FLOODSUB_PROTOCOL_ID,
|
||||
GOSSIPSUB_PARAMS,
|
||||
GOSSIPSUB_PROTOCOL_ID,
|
||||
LISTEN_MADDR,
|
||||
)
|
||||
from tests.utils import generate_new_private_key
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user