implement backup cli for borgbackup
This commit is contained in:
22
pkgs/clan-cli/tests/test_backups.py
Normal file
22
pkgs/clan-cli/tests/test_backups.py
Normal file
@@ -0,0 +1,22 @@
|
||||
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",
|
||||
]
|
||||
)
|
||||
Reference in New Issue
Block a user