backups: implement list the easy way

This commit is contained in:
lassulus
2023-12-06 17:12:38 +01:00
parent a5caed0de9
commit 45e9ab45f7
4 changed files with 58 additions and 62 deletions

View File

@@ -1,22 +1,20 @@
import logging
import pytest
from cli import Cli
from fixtures_flakes import FlakeForTest
log = logging.getLogger(__name__)
@pytest.mark.impure
def test_backups(
test_flake: FlakeForTest,
test_flake_with_core: FlakeForTest,
) -> None:
cli = Cli()
cli.run(
[
"--flake",
str(test_flake.path),
str(test_flake_with_core.path),
"backups",
"list",
"testhostname",
"vm1",
]
)