freezer.tests.unit.test_job module

Freezer main.py related tests

class freezer.tests.unit.test_job.TestAdminJob(*args: object, **kwargs: object)

Bases: TestJob

setUp()

Hook method for setting up the test fixture before exercising it.

test_execute()
class freezer.tests.unit.test_job.TestBackupJob(*args: object, **kwargs: object)

Bases: TestJob

setUp()

Hook method for setting up the test fixture before exercising it.

test_execute_backup_fs_no_incremental_and_backup_level_raise()
test_execute_cindernative(mock_backup_os)
test_execute_cindernative_invalid_container()
test_execute_cindernative_with_container_template(mock_backup_os)
test_execute_cindernative_without_az(mock_backup_os)
class freezer.tests.unit.test_job.TestExecJob(*args: object, **kwargs: object)

Bases: TestJob

setUp()

Hook method for setting up the test fixture before exercising it.

tearDown()

Hook method for deconstructing the test fixture after testing it.

test_execute_nothing_to_do()
test_execute_raise()
test_execute_script()
class freezer.tests.unit.test_job.TestInfoJob(*args: object, **kwargs: object)

Bases: TestJob

test_execute_list_containers()
test_execute_nothing_to_do()
class freezer.tests.unit.test_job.TestJob(*args: object, **kwargs: object)

Bases: FreezerBaseTestCase

setUp()

Hook method for setting up the test fixture before exercising it.

test_execute()
class freezer.tests.unit.test_job.TestRestoreJob(*args: object, **kwargs: object)

Bases: TestJob

setUp()

Hook method for setting up the test fixture before exercising it.

test_execute_cindernative(mock_restore_os)
test_validate_cindernative_no_container()
test_validate_non_cindernative_requires_container()