Vars: rename 'keygen' to 'create_secrets_user'

This commit is contained in:
Johannes Kirschbauer
2025-07-06 19:58:04 +02:00
parent 7916616373
commit 3af529d76e
4 changed files with 13 additions and 6 deletions

View File

@@ -900,7 +900,9 @@ def test_fails_when_files_are_left_from_other_backend(
@pytest.mark.with_core
def test_keygen(monkeypatch: pytest.MonkeyPatch, flake: ClanFlake) -> None:
def test_create_sops_age_secrets(
monkeypatch: pytest.MonkeyPatch, flake: ClanFlake
) -> None:
monkeypatch.chdir(flake.path)
cli.run(["vars", "keygen", "--flake", str(flake.path), "--user", "user"])
# check public key exists