testing.functional.test_restore module

class testing.functional.test_restore.RestoreTest(*args, **kwargs)[source]

Bases: FunctionalTestCase

Test restore optionss using duplicity binary. Basic restere is tested in other tests.

__init__(*args, **kwargs)[source]

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

_classSetupFailed = False
_class_cleanups = []
test_restore_path_to_curdir()[source]

Expected behaviour is refuse to overwrite, CmdErr 11.

test_restore_path_to_nonempty_dir()[source]

Expected behaviour is refuse to overwrite, CmdErr 11.

test_restore_path_to_nonexisting_dir()[source]

Expected behaviour is restore to target directory.

test_restore_to_curdir()[source]

Expected behaviour is refuse to overwrite, CmdErr 11.

test_restore_to_nonempty_dir()[source]

Expected behaviour is refuse to overwrite, CmdErr 11.

test_restore_to_nonexisting_dir()[source]

Expected behaviour is restore to target directory.