tests.test_hear_server_activate

Module Contents

Classes

McastServerActivateTestSuite

Test suite for verifying multicast server activation functionality.

Data

__module__

API

tests.test_hear_server_activate.__module__[source]

‘tests’

class tests.test_hear_server_activate.McastServerActivateTestSuite(methodName='runTest')[source][source]

Bases: context.BasicUsageTestSuite

Test suite for verifying multicast server activation functionality.

This test suite focuses on the proper initialization and activation of the multicast server, including socket setup and cleanup procedures.

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_server_activate’

__name__[source]

‘tests.test_hear_server_activate.McastServerActivateTestSuite’

test_server_activate()[source][source]

Test multicast server activation and socket initialization.

Verifies that: 1. Server socket is properly initialized 2. Socket type is set to SOCK_DGRAM 3. Server thread starts successfully 4. Cleanup is performed correctly