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

Method test_zsh

tests/test_replwrap.py:100–110  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

98 assert res.startswith('/'), res
99
100 def test_zsh(self):
101 zsh = replwrap.zsh()
102 res = zsh.run_command("env")
103 assert 'PAGER' in res, res
104
105 try:
106 zsh.run_command('')
107 except ValueError:
108 pass
109 else:
110 assert False, "Didn't raise ValueError for empty input"
111
112 def test_python(self):
113 if platform.python_implementation() == 'PyPy':

Callers

nothing calls this directly

Calls 1

run_commandMethod · 0.80

Tested by

no test coverage detected