moved factories to tests

This commit is contained in:
Khwahish Patel
2025-02-21 16:18:43 +05:30
committed by Paul Robinson
parent ddf68ee4e0
commit df72979606
30 changed files with 59 additions and 66 deletions

View File

@ -6,12 +6,12 @@ from trio.testing import (
from libp2p.host.exceptions import (
StreamFailure,
)
from libp2p.tools.factories import (
HostFactory,
)
from libp2p.tools.utils import (
create_echo_stream_handler,
)
from tests.factories import (
HostFactory,
)
PROTOCOL_ECHO = "/echo/1.0.0"
PROTOCOL_POTATO = "/potato/1.0.0"