Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Rello/analytics
/ fail
Method
fail
tests/sbom/test_scan.py:29–30 ·
view source on GitHub ↗
(*args)
Source
from the content-addressed store, hash-verified
27
28
def
test_network_failure_aborts_scan(self):
29
def
fail(*args):
30
raise
TimeoutError(
'unavailable'
)
31
with
self.assertRaises(TimeoutError):
32
scanner.scan(BOM, fail)
33
Callers
1
testLookupRejectsMalformedExpressions
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected