testing.functional.test_final module

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

Bases: FunctionalTestCase

Test backup/restore using duplicity binary

check_same(filename1, filename2)[source]

Verify two filenames are the same

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_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_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]

Like test_basic_cycle but use asymmetric encryption and signing