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'¶
-
-
TestCongressHAHT.
dump_nodes_logs
()¶
-
TestCongressHAHT.
read_output_file
(file)¶
-
TestCongressHAHT.
setUp
()¶
-
TestCongressHAHT.
start_pe
(num, port)¶
-
TestCongressHAHT.
tail
(thing, length=20)¶
-
TestCongressHAHT.
test_conflicting_policy_create_delete
()¶
-
TestCongressHAHT.
test_policy_create_delete
()¶
-
TestCongressHAHT.
test_policy_rule_create_delete
()¶
-
TestCongressHAHT.
test_policy_rule_create_delete_interference
()¶
-
TestCongressHAHT.
test_policy_rule_crud
()¶
-
TestCongressHAHT.
test_policy_rule_duplicate
()¶
-
TestCongressHAHT.
test_policy_rule_evaluation
()¶
-
TestCongressHAHT.
test_policy_rule_recursion
()¶
-
TestCongressHAHT.
test_policy_rule_schema_mismatch
()¶
-