MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / get_output_data

Method get_output_data

tools/shell/test/conftest.py:114–120  ·  view source on GitHub ↗
(self, res)

Source from the content-addressed store, hash-verified

112 return "\n".join(statements)
113
114 def get_output_data(self, res):
115 if self.output:
116 stdout = open(self.output).read()
117 else:
118 stdout = res.stdout.decode("utf8").strip()
119 stderr = res.stderr.decode("utf8").strip()
120 return stdout, stderr
121
122 def run(self):
123 statements = self.get_statements()

Callers 1

runMethod · 0.95

Calls 1

readMethod · 0.45

Tested by

no test coverage detected