The congress.tests.dse2.test_dse2 Module

class congress.tests.dse2.test_dse2.TestDSE(*args, **kwargs)

Bases: congress.tests.base.TestCase

insert_rule(engine, statement, target=None)
setUp()
test_auto_resub()
test_datasource_poll()
test_datasource_pub(*args, **keywargs)
test_datasource_sub(*args, **keywargs)
test_datasource_unsub(*args, **keywargs)
test_internode_partial_unsub()
test_internode_pubsub()
test_intranode_partial_unsub()
test_intranode_pubsub()
test_intranode_pubsub2()
test_multiservice_pubsub()
test_policy_data()

Test policy correctly processes initial data snapshot.

test_policy_data_late_sub()

Test policy correctly processes data on late subscribe.

test_policy_data_update()

Test policy correctly processes initial data snapshot and update.

test_policy_table_publish()

Policy table result publish

Test basic DSE functionality with policy engine and table result publish.

test_replicated_pe_exec()

Test correct local leader behavior with 2 PEs requesting exec

test_sub_before_service_exists()
test_subs_list_update_aggregated_by_service()
test_subscribe_snapshot()
test_unregister()