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)[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_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

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

Bases: FinalTest

setUp()[source]

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

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

Bases: FinalTest

setUp()[source]

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