Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
13
class
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()
Callers
15
test_same_avid_different_content_id.py
File · 0.90
setUp
Method · 0.90
setUp
Method · 0.90
setUp
Method · 0.90
setUp
Method · 0.90
test_on_failure
Method · 0.90
test_process_response_with_empty_vulnaribilities
Function · 0.90
test_process_response_with_empty_vulnaribilities_2
Function · 0.90
test_parse_yaml_file
Function · 0.90
test_detect_and_flag_ghost_packages
Method · 0.90
test_process_record
Function · 0.90
test_fetch_advisory_directory_links_failure
Function · 0.90
Calls
no outgoing calls
Tested by
15
setUp
Method · 0.72
setUp
Method · 0.72
setUp
Method · 0.72
setUp
Method · 0.72
test_on_failure
Method · 0.72
test_process_response_with_empty_vulnaribilities
Function · 0.72
test_process_response_with_empty_vulnaribilities_2
Function · 0.72
test_parse_yaml_file
Function · 0.72
test_detect_and_flag_ghost_packages
Method · 0.72
test_process_record
Function · 0.72
test_fetch_advisory_directory_links_failure
Function · 0.72
test_fetch_advisory_links_failure
Function · 0.72