testing.functional.test_final module

class testing.functional.test_final.FinalTest(methodName='runTest')[source]

Bases: FunctionalTestCase

Test backup/restore using duplicity binary

_classSetupFailed = False
_class_cleanups = []
check_same(filename1, filename2)[source]

Verify two filenames are the same

run_with_no_change(backup_options=None, restore_options=None)[source]

Like test_basic_cycle but runs a incremental backup with no changes after full

runtest(dirlist, backup_options=None, restore_options=None)[source]

Run backup/restore test on directories in dirlist

test_asym_cycle()[source]

Like test_basic_cycle but use asymmetric encryption and signing

test_asym_with_hidden_recipient_cycle()[source]

Like test_basic_cycle but use asymmetric encryption (hiding key id) and signing

test_basic_cycle(backup_options=None, restore_options=None, dirlist=None, testfiles=None)[source]

Run backup/restore test on basic directories

test_concurrency()[source]
test_concurrency_and_skip_if_no_change()[source]
test_empty_backup()[source]

Make sure backup works when no files change

test_empty_restore()[source]

Make sure error raised when restore doesn’t match anything

test_jsonstat()[source]

Test cycle with json stats enabled

test_jsonstat_missing()[source]

Make sure collection_status works if one set misses jsonstat

test_long_filenames()[source]

Test backing up a directory with long filenames in it

test_piped_password()[source]

Make sure that prompting for a password works

test_regression_issues()[source]

test regression issues.

test_remove_older_than()[source]

Test removing old backup chains

test_single_regfile()[source]

Test backing and restoring up a single regular file

test_skip_if_no_change()[source]