MCPcopy
hub / github.com/pytest-dev/pytest / test_sysexec

Method test_sysexec

testing/_py/test_local.py:921–925  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

919 assert local.sysfind("a", checker=lambda x: None) is None
920
921 def test_sysexec(self):
922 x = local.sysfind("ls")
923 out = x.sysexec("-a")
924 for x in local().listdir():
925 assert out.find(x.basename) != -1
926
927 def test_sysexec_failing(self):
928 try:

Callers

nothing calls this directly

Calls 3

sysfindMethod · 0.80
sysexecMethod · 0.80
listdirMethod · 0.80

Tested by

no test coverage detected