mirror of
https://github.com/rjNemo/pass-gen
synced 2026-06-06 02:26:42 +00:00
10 lines
225 B
Python
10 lines
225 B
Python
from typer.testing import CliRunner
|
|
from .main import app
|
|
|
|
runner = CliRunner()
|
|
|
|
|
|
def test_cli_print_password() -> None:
|
|
result = runner.invoke(app)
|
|
assert result.exit_code == 0
|
|
assert "2yW4AcqG" in result.stdout
|