|
@@ -14,7 +14,7 @@ from test_utils.dht_swarms import launch_dht_instances
|
|
|
|
|
|
@pytest.mark.asyncio
|
|
|
async def test_startup_error():
|
|
|
- with pytest.raises(hivemind.p2p.P2PDaemonError, match=r"Failed to connect to bootstrap peers"):
|
|
|
+ with pytest.raises(hivemind.p2p.P2PDaemonError, match=r"(?i)Failed to connect to bootstrap peers"):
|
|
|
hivemind.DHT(
|
|
|
initial_peers=[f"/ip4/127.0.0.1/tcp/{get_free_port()}/p2p/QmdaK4LUeQaKhqSFPRu9N7MvXUEWDxWwtCvPrS444tCgd1"],
|
|
|
start=True,
|