tests.components.xsl_transformation.tests_unit

class tests.components.xsl_transformation.tests_unit.TestXslTransform(methodName='runTest')

Bases: unittest.case.TestCase

test_xsl_transform_raise_api_error_on_encode_exception(**keywargs)
test_xsl_transform_raise_api_error_on_malformed_xml(**keywargs)
test_xsl_transform_raise_api_error_on_malformed_xslt(**keywargs)
test_xsl_transform_raise_api_error_on_other_exception(**keywargs)
test_xsl_transform_return_expected_string(**keywargs)
class tests.components.xsl_transformation.tests_unit.TestXslTransformationGet(methodName='runTest')

Bases: unittest.case.TestCase

test_xsl_transformation_get_raises_exception_if_object_does_not_exists(**keywargs)
test_xsl_transformation_get_return_xsl_transformation(**keywargs)
class tests.components.xsl_transformation.tests_unit.TestXslTransformationGetAll(methodName='runTest')

Bases: unittest.case.TestCase

test_xsl_transformation_get_all_contains_only_xsl_transformation(**keywargs)
class tests.components.xsl_transformation.tests_unit.TestXslTransformationGetById(methodName='runTest')

Bases: unittest.case.TestCase

test_xsl_transformation_get_by_id_raises_api_error_if_does_not_exisst(**keywargs)
test_xsl_transformation_get_by_id_returns_xsl_transformation(**keywargs)
class tests.components.xsl_transformation.tests_unit.TestXslTransformationUpsert(methodName='runTest')

Bases: unittest.case.TestCase

test_xsl_transformation_upsert_raises_exception_if_bad_namespace(**keywargs)
test_xsl_transformation_upsert_raises_exception_if_not_well_formatted(**keywargs)
test_xsl_transformation_upsert_return_xsl_transformation(**keywargs)