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:
parent
3372c32432
commit
2287dc95be
|
@ -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"),
|
||||
|
|
Loading…
Reference in New Issue
Block a user