mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +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(
|
||||
"addr",
|
||||
(
|
||||
pytest.param(None),
|
||||
pytest.param(random.randint(0, 255), id="random integer"),
|
||||
pytest.param(multiaddr.Multiaddr("/"), id="empty multiaddr"),
|
||||
pytest.param(
|
||||
multiaddr.Multiaddr("/ip4/127.0.0.1"),
|
||||
|
||||
Reference in New Issue
Block a user