Fix some test imports that got botched in rebase

This commit is contained in:
Alex Stokes 2019-08-15 16:40:31 -07:00
parent 9a4e23a803
commit d17e6f3392
No known key found for this signature in database
GPG Key ID: 51CE1721B245C086
2 changed files with 9 additions and 5 deletions

View File

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

View File

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