canonical / charm-duplicity

A charm that provides functionality for both manual and automatic backups for a deployed application
0 stars 3 forks source link

backup_frequency: "auto" should be removed from the functional test as this functionality was already removed #17

Closed jneo8 closed 10 months ago

jneo8 commented 10 months ago

Functional test can failed with the following error:

FAIL: test_encryption_true_no_key_no_passphrase_blocks (tests.test_duplicity.DuplicityEncryptionValidationTest) 2022-09-29 08:15:02 [INFO] Verify unit is blocked with no passphrase or key. 2022-09-29 08:15:02 [INFO] ---------------------------------------------------------------------- 2022-09-29 08:15:02 [INFO] Traceback (most recent call last): 2022-09-29 08:15:02 [INFO] File "/home/ubuntu/dupl/charm-duplicity/src/tests/functional/./tests/utils.py", line 39, in wrapped_f 2022-09-29 08:15:02 [INFO] f(*args) 2022-09-29 08:15:02 [INFO] File "/home/ubuntu/dupl/charm-duplicity/src/tests/functional/./tests/test_duplicity.py", line 138, in test_encryption_true_no_key_no_passphrase_blocks 2022-09-29 08:15:02 [INFO] self.assertEquals( 2022-09-29 08:15:02 [INFO] AssertionError: 'Invalid value "auto" for "backup_frequency"' != 'Must set either an encryption passphrase,[34 chars]tion' 2022-09-29 08:15:02 [INFO] - Invalid value "auto" for "backup_frequency" 2022-09-29 08:15:02 [INFO] + Must set either an encryption passphrase, GPG public key, or disable encryption 2022-09-29 08:15:02 [INFO] ---------------------------------------------------------------------- 2022-09-29 08:15:02 [INFO] Ran 3 tests in 3.865s 2022-09-29 08:15:02 [INFO] FAILED 2022-09-29 08:15:02 [INFO] (failures=1)

but backup_frequency: "auto" was removed in this commit 34f61330863c2531bba71ec5f9462fc306ca5628.


Imported from Launchpad using lp2gh.