The freezer.tests.unit.utils.test_utils Module

class freezer.tests.unit.utils.test_utils.TestDateTime[source]

Bases: object

setup()[source]
test_factory()[source]
test_initialize_int()[source]
test_initialize_string()[source]
test_repr()[source]
test_sub()[source]
test_timestamp()[source]
class freezer.tests.unit.utils.test_utils.TestUtils(*args, **kwargs)[source]

Bases: freezer.tests.commons.FreezerBaseTestCase

callback(filepath='', files=[])[source]
prepare_env()[source]
setUp()[source]
test_OpenstackOptions_creation_success()[source]
test_alter_proxy()[source]

Testing freezer.arguments.alter_proxy function does it set HTTP_PROXY and HTTPS_PROXY when ‘proxy’ key in its dictionary

test_create_dir()[source]
test_date_to_timestamp()[source]
test_exclude_path()[source]
test_human2bytes()[source]
test_walk_path_dir(*args, **keywargs)[source]
test_walk_path_file(*args, **keywargs)[source]