clan-core/pkgs/clan-cli/tests/test_backups.py
lassulus e772d29f44
All checks were successful
checks-impure / test (pull_request) Successful in 1m4s
checks / test (pull_request) Successful in 2m33s
implement backup cli for borgbackup
2023-12-04 17:47:23 +01:00

23 lines
357 B
Python

import logging
from cli import Cli
from fixtures_flakes import FlakeForTest
log = logging.getLogger(__name__)
def test_backups(
test_flake: FlakeForTest,
) -> None:
cli = Cli()
cli.run(
[
"--flake",
str(test_flake.path),
"backups",
"list",
"testhostname",
]
)