freezer.tests.unit.openstack.test_restore module

Freezer restore.py related tests

class freezer.tests.unit.openstack.test_restore.Image

Bases: object

class freezer.tests.unit.openstack.test_restore.TestRestore(*args, **kwargs)

Bases: freezer.tests.commons.FreezerBaseTestCase

setUp()

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

test_create_image(mock_s3stream, mock_resize, mock_open, mock_list, mock_load, mock_mkdtemp, mock_rmtree)
test_get_backups_exception()
test_restore_cinder()
test_restore_cinder_by_glance()
test_restore_cinder_by_glance_from_local()
test_restore_cinder_with_backup_id()
test_restore_cinder_without_backup_id()
test_restore_nova()
test_restore_nova_from_local()