Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/IBM/mcp-cli
/ _server
Method
_server
tests/dashboard/test_server.py:22–25 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
20
21
class
TestResolveStatic:
22
def
_server(self):
23
from
mcp_cli.dashboard.server
import
DashboardServer
24
25
return
DashboardServer()
26
27
def
test_root_resolves_to_shell_html(self):
28
s = self._server()
Callers
12
test_root_resolves_to_shell_html
Method · 0.95
test_empty_path_resolves_to_shell_html
Method · 0.95
test_view_path_resolves
Method · 0.95
test_themes_path_resolves
Method · 0.95
test_css_path_resolves
Method · 0.95
test_js_path_resolves
Method · 0.95
test_unknown_path_returns_none
Method · 0.95
test_path_traversal_rejected
Method · 0.95
test_css_path_traversal_rejected
Method · 0.95
test_js_path_traversal_rejected
Method · 0.95
test_nonexistent_css_returns_none
Method · 0.95
test_nonexistent_js_returns_none
Method · 0.95
Calls
1
DashboardServer
Class · 0.90
Tested by
no test coverage detected