udpcl.test package

Submodules

A dummy bundle data generator.

udpcl.test.bundlegen.bundle_iterable(genmode, gencount, indata)

A generator to yield encoded bundles as file-like objects.

udpcl.test.bundlegen.agent_xfer_bundles(agent, tx_params={}, tx_queue=[], rx_count=0)

A glib callback to send a sequence of bundles and then shutdown the agent.

Parameters:
  • tx_params – Parameters to provide with each TX item.

  • tx_queue – An iterable object which produces file-like bundles.

  • rx_count – The number of bundles to recieve before stopping.

udpcl.test.bundlegen.main()
class udpcl.test.test_agent.TestConversation(methodName='runTest')

Bases: TestCase

test_eq()
test_dict_key()