The congress.tests.haht.test_congress_haht Module

test_congress_haht

Replicated policy engine high availability tests for congress module.

class congress.tests.haht.test_congress_haht.TestCongressHAHT(*args, **kwargs)

Bases: congress.tests.base.SqlTestCase

clean_db()
class client(port, host=‘0.0.0.0’)

Bases: object

delete(suffix=None)
get(suffix=None)
post(suffix=None, json=None)
url(suffix=None)
version = ‘/v1’
dump_nodes_logs()
read_output_file(file)
setUp()
start_pe(num, port)
tail(thing, length=20)
test_conflicting_policy_create_delete()
test_policy_create_delete()
test_policy_rule_create_delete()
test_policy_rule_create_delete_interference()
test_policy_rule_crud()
test_policy_rule_duplicate()
test_policy_rule_evaluation()
test_policy_rule_recursion()
test_policy_rule_schema_mismatch()