| 1837 | assert repr(promise) == f"<Promise cmd='{_}'>" |
| 1838 | |
| 1839 | def exposes_read_only_run_params(self): |
| 1840 | runner = _runner() |
| 1841 | promise = runner.run( |
| 1842 | _, pty=True, encoding="utf-17", shell="sea", asynchronous=True |
| 1843 | ) |
| 1844 | assert promise.command == _ |
| 1845 | assert promise.pty is True |
| 1846 | assert promise.encoding == "utf-17" |
| 1847 | assert promise.shell == "sea" |
| 1848 | assert not hasattr(promise, "stdout") |
| 1849 | assert not hasattr(promise, "stderr") |
| 1850 | |
| 1851 | class join: |
| 1852 | # NOTE: high level Runner lifecycle mechanics of join() (re: wait(), |