MCPcopy Create free account
hub / github.com/pexpect/pexpect / test_async_replwrap

Method test_async_replwrap

tests/test_async.py:67–70  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

65 assert await p.expect_exact("3", async_=True) == 0
66
67 async def test_async_replwrap(self):
68 bash = replwrap.bash()
69 res = await bash.run_command("time", async_=True)
70 assert "real" in res, res
71
72 async def test_async_replwrap_multiline(self):
73 bash = replwrap.bash()

Callers

nothing calls this directly

Calls 1

run_commandMethod · 0.80

Tested by

no test coverage detected