Files
winf-photobooth/support/testing/tests/package/sample_python_pexpect.py
Michael b8783708ae Initial Commit
- initial default booting image
2026-11-06 20:45:42 +01:00

9 lines
154 B
Python

import pexpect
p = pexpect.spawn(["login"])
p.expect("login:")
p.sendline("wrong")
p.expect("Password:")
p.sendline("wrong")
p.expect("Login incorrect")