add comments to test_unknown_feature_on_cache_sync

This commit is contained in:
Thomas Waldmann 2024-07-12 21:11:03 +02:00
parent c7249583e7
commit 72be8eff15
No known key found for this signature in database
GPG Key ID: 243ACFA951F78E01
1 changed files with 2 additions and 0 deletions

View File

@ -205,8 +205,10 @@ def test_unknown_feature_on_create(archivers, request):
def test_unknown_feature_on_cache_sync(archivers, request):
# LocalCache.sync checks repo compat
archiver = request.getfixturevalue(archivers)
cmd(archiver, "rcreate", RK_ENCRYPTION)
# delete the cache to trigger a cache sync later in borg create
cmd(archiver, "rdelete", "--cache-only")
add_unknown_feature(archiver.repository_path, Manifest.Operation.READ)
cmd_raises_unknown_feature(archiver, ["create", "test", "input"])