mirror of
https://github.com/borgbackup/borg.git
synced 2026-07-15 04:52:03 -04:00
Fixes pytest warning for non-list in parametrize
This commit is contained in:
parent
01aff2b7e2
commit
47d88682c1
1 changed files with 1 additions and 1 deletions
|
|
@ -708,7 +708,7 @@ def test_prune_no_args(archivers, request):
|
|||
assert f"keep-{flag}" in output
|
||||
|
||||
|
||||
@pytest.mark.parametrize("keep_arg,value", product([rule.key for rule in PRUNING_RULES], ["0", "0S"]))
|
||||
@pytest.mark.parametrize("keep_arg,value", list(product([rule.key for rule in PRUNING_RULES], ["0", "0S"])))
|
||||
def test_prune_all_zero_args_one(archivers, request, keep_arg, value):
|
||||
archiver = request.getfixturevalue(archivers)
|
||||
cmd(archiver, "repo-create", RK_ENCRYPTION)
|
||||
|
|
|
|||
Loading…
Reference in a new issue