OpenStack
Home
Projects
User Stories
Community
Blog
Wiki
Documentation
The
ironic.tests.test_utils
Module
¶
class
ironic.tests.test_utils.
BareMetalUtilsTestCase
(
*args
,
**kwargs
)
[source]
¶
Bases:
ironic.tests.base.TestCase
test_create_link
(
)
[source]
¶
test_create_link_EEXIST
(
)
[source]
¶
test_random_alnum
(
)
[source]
¶
test_unlink
(
)
[source]
¶
test_unlink_ENOENT
(
)
[source]
¶
class
ironic.tests.test_utils.
ExecuteTestCase
(
*args
,
**kwargs
)
[source]
¶
Bases:
ironic.tests.base.TestCase
test_check_exit_code_boolean
(
)
[source]
¶
test_execute_get_root_helper
(
)
[source]
¶
test_execute_not_use_standard_locale
(
*args
,
**keywargs
)
[source]
¶
test_execute_use_standard_locale_no_env_variables
(
*args
,
**keywargs
)
[source]
¶
test_execute_use_standard_locale_with_env_variables
(
*args
,
**keywargs
)
[source]
¶
test_execute_without_root_helper
(
)
[source]
¶
test_no_retry_on_success
(
)
[source]
¶
test_retry_on_failure
(
)
[source]
¶
test_unknown_kwargs_raises_error
(
)
[source]
¶
class
ironic.tests.test_utils.
GenericUtilsTestCase
(
*args
,
**kwargs
)
[source]
¶
Bases:
ironic.tests.base.TestCase
test_get_shortened_ipv6
(
)
[source]
¶
test_get_shortened_ipv6_cidr
(
)
[source]
¶
test_hash_file
(
)
[source]
¶
test_hostname_sanitize_characters
(
)
[source]
¶
test_hostname_sanitize_dashes
(
)
[source]
¶
test_hostname_sanitize_periods
(
)
[source]
¶
test_hostname_translate
(
)
[source]
¶
test_hostname_unicode_sanitization
(
)
[source]
¶
test_is_hostname_safe
(
)
[source]
¶
test_is_valid_boolstr
(
)
[source]
¶
test_is_valid_ipv6_cidr
(
)
[source]
¶
test_is_valid_mac
(
)
[source]
¶
test_read_cached_file
(
)
[source]
¶
test_read_modified_cached_file
(
)
[source]
¶
test_safe_rstrip
(
)
[source]
¶
test_safe_rstrip_not_raises_exceptions
(
)
[source]
¶
test_validate_and_normalize_mac
(
)
[source]
¶
test_validate_and_normalize_mac_invalid_format
(
)
[source]
¶
class
ironic.tests.test_utils.
IsHttpUrlTestCase
(
*args
,
**kwargs
)
[source]
¶
Bases:
ironic.tests.base.TestCase
test_is_http_url
(
)
[source]
¶
class
ironic.tests.test_utils.
MkfsTestCase
(
*args
,
**kwargs
)
[source]
¶
Bases:
ironic.tests.base.TestCase
test_mkfs
(
*args
,
**keywargs
)
[source]
¶
test_mkfs_with_label
(
*args
,
**keywargs
)
[source]
¶
test_mkfs_with_unexpected_error
(
*args
,
**keywargs
)
[source]
¶
test_mkfs_with_unsupported_fs
(
*args
,
**keywargs
)
[source]
¶
class
ironic.tests.test_utils.
TempFilesTestCase
(
*args
,
**kwargs
)
[source]
¶
Bases:
ironic.tests.base.TestCase
test_tempdir
(
)
[source]
¶
test_tempdir_mocked
(
*args
,
**keywargs
)
[source]
¶
test_tempdir_mocked_error_on_rmtree
(
*args
,
**keywargs
)
[source]
¶
This Page
Show Source
Quick search
Enter search terms or a module, class or function name.
Navigation
index
routing table
|
modules
|
ironic 2015.1.3.dev3 documentation
»