Merge lp:~aaron-whitehouse/duplicity/add-additional-verify-tests-for-corrupted-archives into lp:~duplicity-team/duplicity/0.7-series
Proposed by
Aaron Whitehouse
Status: | Merged |
---|---|
Merged at revision: | 1039 |
Proposed branch: | lp:~aaron-whitehouse/duplicity/add-additional-verify-tests-for-corrupted-archives |
Merge into: | lp:~duplicity-team/duplicity/0.7-series |
Diff against target: |
179 lines (+62/-13) 2 files modified
testing/functional/test_verify.py (+47/-9) testing/verify_test.sh (+15/-4) |
To merge this branch: | bzr merge lp:~aaron-whitehouse/duplicity/add-additional-verify-tests-for-corrupted-archives |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
duplicity-team | Pending | ||
Review via email: mp+245399@code.launchpad.net |
Description of the change
Add tests to test_verify.py to test that verify fails if the archive file is corrupted. Changed file objects to use the with keyword to ensure that the file is properly closed.
Small edit to find statement in verify_test.sh to make it work as expected (enclose string in quotes).
To post a comment you must log in.