freezer.tests.unit.utils.test_utils.
TestDateTime
¶Bases: object
setup
()¶test_factory
()¶test_initialize_int
()¶test_initialize_string
()¶test_repr
()¶test_sub
()¶test_timestamp
()¶test_wait_for_negative
()¶test_wait_for_positive
()¶freezer.tests.unit.utils.test_utils.
TestUtils
(*args, **kwargs)¶Bases: freezer.tests.commons.FreezerBaseTestCase
callback
(filepath='', files=[])¶prepare_env
()¶setUp
()¶Hook method for setting up the test fixture before exercising it.
test_OpenstackOptions_creation_success
()¶test_alter_proxy
()¶Testing freezer.arguments.alter_proxy function does it set HTTP_PROXY and HTTPS_PROXY when ‘proxy’ key in its dictionary
test_create_dir
()¶test_date_to_timestamp
()¶test_exclude_path
()¶test_human2bytes
()¶test_walk_path_dir
(mock_isfile, mock_chdir, mock_walk)¶test_walk_path_file
(mock_isfile)¶Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.