tests.test_hear_data_processing

Module Contents

Classes

RecvDataProcessingTestSuite

A test suite that checks empty data with the multicast sender and receiver.

HearHandleNoneDataTestSuite

A test suite that uses MagicMock to perform light testing of the default handler for HEAR.

Data

__module__

API

tests.test_hear_data_processing.__module__[source]

‘tests’

class tests.test_hear_data_processing.RecvDataProcessingTestSuite(methodName='runTest')[source][source]

Bases: context.BasicUsageTestSuite

A test suite that checks empty data with the multicast sender and receiver.

Initialization

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

__module__[source]

‘tests.test_hear_data_processing’

__name__[source]

‘tests.test_hear_data_processing.RecvDataProcessingTestSuite’

test_multicast_sender_with_no_data()[source][source]

Tests the multicast sender and receiver with Empty binary data.

test_multicast_sender_with_no_data_before_follow_by_stop()[source][source]

Tests the multicast sender and receiver with Empty binary data, followed by a stop.

class tests.test_hear_data_processing.HearHandleNoneDataTestSuite(methodName='runTest')[source][source]

Bases: context.BasicUsageTestSuite

A test suite that uses MagicMock to perform light testing of the default handler for HEAR.

Initialization

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

__module__[source]

‘tests.test_hear_data_processing’

__name__[source]

‘tests.test_hear_data_processing.HearHandleNoneDataTestSuite’

test_handle_none_data()[source][source]

Test that HearUDPHandler properly handles None data without raising exceptions.

This test verifies that: 1. The handler initializes correctly with None request data 2. The handle() method executes without errors 3. The handler properly processes the None data case