Add contributor guide and project usage docs

This commit is contained in:
2026-02-16 22:48:05 +09:00
parent 1e552f8c46
commit 87482efd6d
16 changed files with 671 additions and 1 deletions

16
tests/test_pty_manager.py Normal file
View File

@@ -0,0 +1,16 @@
"""PtyManager 테스트."""
from lazy_enter.pty_manager import PtyManager
def test_initial_state():
pty = PtyManager("echo hello")
assert not pty.is_alive
def test_start_and_stop():
pty = PtyManager("cat")
pty.start()
assert pty.is_alive
pty.stop()
assert not pty.is_alive