MCPcopy Create free account
hub / github.com/ElementsProject/lightning / search_stdout

Method search_stdout

tests/test_reckless.py:105–112  ·  view source on GitHub ↗

return the matching regex line from reckless output.

(self, regex)

Source from the content-addressed store, hash-verified

103 return f'self.returncode, self.stdout, self.stderr'
104
105 def search_stdout(self, regex):
106 """return the matching regex line from reckless output."""
107 ex = re.compile(regex)
108 matching = []
109 for line in self.stdout:
110 if ex.search(line):
111 matching.append(line)
112 return matching
113
114 def check_stderr(self):
115 def output_okay(out):

Callers 9

test_basic_helpFunction · 0.80
test_contextual_helpFunction · 0.80
test_searchFunction · 0.80
test_installFunction · 0.80
test_poetry_installFunction · 0.80
test_local_dir_installFunction · 0.80
test_disable_enableFunction · 0.80
test_reckless_uv_installFunction · 0.80

Calls 1

compileMethod · 0.80

Tested by

no test coverage detected