2023-12-06 16:12:38 +00:00
|
|
|
import pytest
|
2023-12-04 16:05:37 +00:00
|
|
|
from cli import Cli
|
|
|
|
from fixtures_flakes import FlakeForTest
|
|
|
|
|
|
|
|
|
2023-12-06 16:12:38 +00:00
|
|
|
@pytest.mark.impure
|
2023-12-04 16:05:37 +00:00
|
|
|
def test_backups(
|
2023-12-06 16:12:38 +00:00
|
|
|
test_flake_with_core: FlakeForTest,
|
2023-12-04 16:05:37 +00:00
|
|
|
) -> None:
|
|
|
|
cli = Cli()
|
|
|
|
|
|
|
|
cli.run(
|
|
|
|
[
|
|
|
|
"backups",
|
|
|
|
"list",
|
2024-05-29 08:10:10 +00:00
|
|
|
"--flake",
|
|
|
|
str(test_flake_with_core.path),
|
2023-12-06 16:12:38 +00:00
|
|
|
"vm1",
|
2023-12-04 16:05:37 +00:00
|
|
|
]
|
|
|
|
)
|