tests.components.template.tests_unit

class tests.components.template.tests_unit.TestTemplateGet(methodName='runTest')

Bases: unittest.case.TestCase

test_template_get_raises_exception_if_object_does_not_exist(**keywargs)
test_template_get_returns_template(**keywargs)
class tests.components.template.tests_unit.TestTemplateGetAllByHash(methodName='runTest')

Bases: unittest.case.TestCase

test_template_get_all_by_hash_contains_only_template(**keywargs)
class tests.components.template.tests_unit.TestTemplateList(methodName='runTest')

Bases: unittest.case.TestCase

test_template_list_contains_only_template(**keywargs)
class tests.components.template.tests_unit.TestTemplateUpsert(methodName='runTest')

Bases: unittest.case.TestCase

test_template_upsert_invalid_content_raises_xsd_error(**keywargs)
test_template_upsert_invalid_filename_raises_validation_error(**kwargs)
test_template_upsert_no_content_raises_error(**keywargs)
test_template_upsert_valid_returns_template(**kwargs)