Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/IBM/mcp-cli
/ _req
Function
_req
tests/dashboard/test_server_extra.py:22–25 ·
view source on GitHub ↗
(path: str)
Source
from the content-addressed store, hash-verified
20
21
22
def
_req(path: str):
23
r = MagicMock()
24
r.path = path
25
return
r
26
27
28
class
_FakeWS:
Callers
9
test_ws_path_returns_none
Method · 0.85
test_ws_path_with_query_returns_none
Method · 0.85
test_unknown_path_returns_404
Method · 0.85
test_root_returns_200
Method · 0.85
test_root_with_query_string_returns_200
Method · 0.85
test_view_returns_200
Method · 0.85
test_oserror_reading_file_returns_500
Method · 0.85
test_content_type_header_set
Method · 0.85
test_binary_content_type
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected