|
|
@ -1,13 +1,13 @@
|
|
|
|
#!/usr/bin/env python3
|
|
|
|
#!/usr/bin/env python3
|
|
|
|
|
|
|
|
|
|
|
|
from command import Command, run
|
|
|
|
# from command import Command, run
|
|
|
|
from pathlib import Path
|
|
|
|
# from pathlib import Path
|
|
|
|
|
|
|
|
|
|
|
|
def test_blocking_secret(
|
|
|
|
# def test_blocking_secret(
|
|
|
|
systemd_vaultd: Path, command: Command, tempdir: Path
|
|
|
|
# systemd_vaultd: Path, command: Command, tempdir: Path
|
|
|
|
) -> None:
|
|
|
|
# ) -> None:
|
|
|
|
secrets_dir = tempdir / "secrets"
|
|
|
|
# secrets_dir = tempdir / "secrets"
|
|
|
|
command.run(["vault", "server", "-dev"])
|
|
|
|
# command.run(["vault", "server", "-dev"])
|
|
|
|
# sock = tempdir / "sock"
|
|
|
|
# sock = tempdir / "sock"
|
|
|
|
# command.run([str(systemd_vaultd), "-secrets", str(secrets_dir), "-sock", str(sock)])
|
|
|
|
# command.run([str(systemd_vaultd), "-secrets", str(secrets_dir), "-sock", str(sock)])
|
|
|
|
|
|
|
|
|
|
|
|