Files
clan-core/pkgs/clan-cli/tests/test_backups.py
Jörg Thalheim d002419ae7 drop global argparse flags
They get shadowed by subargparser options.
2024-05-29 10:21:35 +02: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(
[
"backups",
"list",
"--flake",
str(test_flake_with_core.path),
"vm1",
]
)