The ironic.tests.unit.common.test_image_service Module

The ironic.tests.unit.common.test_image_service Module

class ironic.tests.unit.common.test_image_service.FileImageServiceTestCase(*args, **kwds)[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, **kwds)[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, **kwds)[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_url(*args, **keywargs)[source]
test_get_http_image_service(*args, **keywargs)[source]
test_get_https_image_service(*args, **keywargs)[source]
test_get_image_service_invalid_image_ref()[source]
test_out_range_auth_strategy()[source]
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.