tests.components.template_version_manager.tests_unit¶
Template Version Manager unit tests
-
class
tests.components.template_version_manager.tests_unit.TestTemplateVersionManagerAddVersion(methodName='runTest')¶ Bases:
unittest.case.TestCase-
test_insert_raises_exception_if_error_in_create_template(**kwargs)¶
-
test_insert_returns_template_version(**kwargs)¶
-
-
class
tests.components.template_version_manager.tests_unit.TestTemplateVersionManagerGetActiveGlobalVersions(methodName='runTest')¶ Bases:
unittest.case.TestCase-
test_get_active_global_version_managers_returns_templates_not_disable(**keywargs)¶
-
-
class
tests.components.template_version_manager.tests_unit.TestTemplateVersionManagerGetActiveGlobalVersionsByUserId(methodName='runTest')¶ Bases:
unittest.case.TestCase-
test_get_active_global_version_managers_by_user_id_returns_templates_not_disable_with_given_user_id(**keywargs)¶
-
-
class
tests.components.template_version_manager.tests_unit.TestTemplateVersionManagerGetAllByVersionIds(methodName='runTest')¶ Bases:
unittest.case.TestCase-
test_get_all_by_version_ids(**keywargs)¶
-
-
class
tests.components.template_version_manager.tests_unit.TestTemplateVersionManagerGetDisableGlobalVersions(methodName='runTest')¶ Bases:
unittest.case.TestCase-
test_get_disable_global_version_managers_returns_templates_disabled(**keywargs)¶
-
-
class
tests.components.template_version_manager.tests_unit.TestTemplateVersionManagerGetDisableGlobalVersionsByUserId(methodName='runTest')¶ Bases:
unittest.case.TestCase-
test_get_disable_global_version_managers_by_user_id_returns_templates_disabled_with_giver_user_id(**keywargs)¶
-
-
class
tests.components.template_version_manager.tests_unit.TestTemplateVersionManagerGetGlobalVersions(methodName='runTest')¶ Bases:
unittest.case.TestCase-
test_get_global_version_managers_returns_templates(**keywargs)¶
-
-
class
tests.components.template_version_manager.tests_unit.TestTemplateVersionManagerInsert(methodName='runTest')¶ Bases:
unittest.case.TestCase-
test_create_version_manager_raises_exception_if_error_in_create_template(**kwargs)¶
-
test_create_version_manager_raises_exception_if_error_in_create_version_manager(**kwargs)¶
-
test_create_version_manager_returns_version_manager(**kwargs)¶
-
test_insert_manager_raises_api_error_if_title_already_exists(**kwargs)¶
-