test_ros_acomms_net module#

Unit tests for ros_acomms_net

class test_ros_acomms_net.TestRosAcommsNet#

Bases: object

test class for ros_acomms_net

classmethod setup_class()#

setup function for tests

classmethod teardown_class()#

teardown function for tests

test_ack_application()#

test ack application

test_ack_endpoint()#

test endpoint ack

test_ack_none()#

test ack none

test_default_dest()#

Send a message without a NetHeader using the default destination in the codec

test_eavesdropping()#

Send a message to a different destination, but make sure we hear it anyway

test_fragmentation_ack_endpoint()#

test endpoint ack

test_loopback()#

test ack none

test_src_id()#

Send a message without a NetHeader using the {src} feature

test_src_name()#

Send a message without a NetHeader using the {name} feature

test_timeout()#

Verify that we can send a message that isn’t received, that tx_tries counts down, and that it times out

wait_for_ack()#
wait_for_inbound_chat(msg)#