mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-12 16:10:57 +00:00
Fix test for info_from_p2p_addr
It is because I removed some checks in the function. This checks should be useless thanks to mypy
This commit is contained in:
@ -25,8 +25,6 @@ def test_init_():
|
|||||||
@pytest.mark.parametrize(
|
@pytest.mark.parametrize(
|
||||||
"addr",
|
"addr",
|
||||||
(
|
(
|
||||||
pytest.param(None),
|
|
||||||
pytest.param(random.randint(0, 255), id="random integer"),
|
|
||||||
pytest.param(multiaddr.Multiaddr("/"), id="empty multiaddr"),
|
pytest.param(multiaddr.Multiaddr("/"), id="empty multiaddr"),
|
||||||
pytest.param(
|
pytest.param(
|
||||||
multiaddr.Multiaddr("/ip4/127.0.0.1"),
|
multiaddr.Multiaddr("/ip4/127.0.0.1"),
|
||||||
|
|||||||
Reference in New Issue
Block a user