The congress.tests.api.test_library_policy_model
Module¶
-
class
congress.tests.api.test_library_policy_model.
TestLibraryPolicyModel
(*args, **kwargs)¶ Bases:
congress.tests.base.SqlTestCase
-
setUp
()¶
-
test_add_item
()¶
-
test_add_item_duplicate_name
()¶
-
test_add_item_with_id
()¶
-
test_add_item_with_long_abbreviation
()¶
-
test_add_item_without_name
()¶
-
test_delete_item
()¶
-
test_get_invalid_item
()¶
-
test_get_item
()¶
-
test_get_items
()¶
-
test_policy_api_model_error
()¶ Test the policy api model.
-
test_update_item
()¶
-
test_update_item_with_long_abbreviation
()¶
-
test_update_item_without_name
()¶
-