clan-core/pkgs/clan-cli/tests/test_backups.py
lassulus 45e9ab45f7
All checks were successful
checks-impure / test (pull_request) Successful in 1m6s
checks / test (pull_request) Successful in 1m57s
backups: implement list the easy way
2023-12-07 13:22:41 +01:00

21 lines
351 B
Python

import pytest
from cli import Cli
from fixtures_flakes import FlakeForTest
@pytest.mark.impure
def test_backups(
test_flake_with_core: FlakeForTest,
) -> None:
cli = Cli()
cli.run(
[
"--flake",
str(test_flake_with_core.path),
"backups",
"list",
"vm1",
]
)