The congress.tests.api.test_rule_model
Module¶
-
class
congress.tests.api.test_rule_model.
TestRuleModel
(*args, **kwargs)¶ Bases:
congress.tests.base.SqlTestCase
-
setUp
()¶
-
test_add_rule_with_cross_policy_table
()¶
-
test_add_rule_with_invalid_policy
(*args, **keywargs)¶
-
test_delete_item
()¶
-
test_get_invalid_item
()¶
-
test_get_item
()¶
-
test_get_items
()¶
-
test_rule_api_model_errors
()¶ Test syntax errors.
Test that syntax errors thrown by the policy runtime are returned properly to the user so they can see the error messages.
-