MCPcopy Create free account
hub / github.com/aboutcode-org/vulnerablecode / TestLogger

Class TestLogger

vulnerabilities/tests/pipelines/__init__.py:13–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11
12
13class TestLogger:
14 buffer = io.StringIO()
15
16 def write(self, msg, level=None):
17 self.buffer.write(msg)
18
19 def getvalue(self):
20 return self.buffer.getvalue()

Calls

no outgoing calls

Tested by 15

setUpMethod · 0.72
setUpMethod · 0.72
setUpMethod · 0.72
setUpMethod · 0.72
test_on_failureMethod · 0.72
test_parse_yaml_fileFunction · 0.72
test_process_recordFunction · 0.72