The ironic.tests.unit.common.test_image_service Module

class ironic.tests.unit.common.test_image_service.FileImageServiceTestCase(*args, **kwargs)[source]

Bases: ironic.tests.base.TestCase

setUp()[source]
test_download_copy(*args, **keywargs)[source]
test_download_copy_fail(*args, **keywargs)[source]
test_show(*args, **keywargs)[source]
test_validate_href(*args, **keywargs)[source]
test_validate_href_path_not_found_or_not_file(*args, **keywargs)[source]
class ironic.tests.unit.common.test_image_service.HttpImageServiceTestCase(*args, **kwargs)[source]

Bases: ironic.tests.base.TestCase

setUp()[source]
test_download_fail_connerror(*args, **keywargs)[source]
test_download_fail_ioerror(*args, **keywargs)[source]
test_download_success(*args, **keywargs)[source]
test_show_ansi_c()[source]
test_show_no_content_length(*args, **keywargs)[source]
test_show_rfc_822()[source]
test_show_rfc_850()[source]
test_validate_href(*args, **keywargs)[source]
test_validate_href_error(*args, **keywargs)[source]
test_validate_href_error_code(*args, **keywargs)[source]
test_validate_href_error_with_secret_parameter(*args, **keywargs)[source]
class ironic.tests.unit.common.test_image_service.ServiceGetterTestCase(*args, **kwargs)[source]

Bases: ironic.tests.base.TestCase

test_get_file_image_service(*args, **keywargs)[source]
test_get_glance_image_service(*args, **keywargs)[source]
test_get_glance_image_service_default_v1(*args, **keywargs)[source]
test_get_glance_image_service_no_token(*args, **keywargs)[source]
test_get_glance_image_service_token_not_needed(*args, **keywargs)[source]
test_get_glance_image_service_url(*args, **keywargs)[source]
test_get_http_image_service(*args, **keywargs)[source]
test_get_https_image_service(*args, **keywargs)[source]
test_get_image_service_unknown_protocol()[source]
test_out_range_auth_strategy()[source]
test_out_range_glance_protocol()[source]