cli: rename admin create to create

This commit is contained in:
Jörg Thalheim
2023-09-15 16:36:09 +02:00
parent 164f95723d
commit f6a7e42e38
4 changed files with 16 additions and 34 deletions

View File

@@ -0,0 +1,12 @@
from pathlib import Path
import pytest
from cli import Cli
@pytest.mark.impure
def test_template(monkeypatch: pytest.MonkeyPatch, temporary_dir: Path) -> None:
monkeypatch.chdir(temporary_dir)
cli = Cli()
cli.run(["create"])
assert (temporary_dir / ".clan-flake").exists()