Module testutil

Module testutil 

Source
Expand description

Datagram socket test utilities.

Functionsยง

create_primary_id
Creates a primary ID without inserting it into the all socket map.
setup_fake_ctx_with_dualstack_conn_addrs
Helper function to ensure the Fake CoreCtx and BindingsCtx are setup with FakeDeviceConfig (one per provided device), with remote/local IPs that support a connection to the given remote_ip.