21 lines
351 B
Python
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",
|
|
]
|
|
)
|