Commit 630eedb
test: mirror testkit's (prefix, router) convention in the fake registry
Verified register() against the real host loader + PluginRegistry: the module
imports as a package (relative imports resolve), the factory returns None when
disabled and a 17-tool stdio entry when enabled, and prefix="" mounts without
tripping the server-side _prefix_conforms check.
The real registry stores {"router", "prefix"} and a resolved Path; both
host-free fakes simplify, so follow the sanctioned one in
graph/plugins/testkit.py rather than inventing a third shape.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01U69poCC3qyCbTnaJmRzBvi1 parent d0d1bee commit 630eedb
2 files changed
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
54 | 57 | | |
55 | 58 | | |
56 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | | - | |
39 | | - | |
| 38 | + | |
40 | 39 | | |
41 | 40 | | |
42 | 41 | | |
| |||
0 commit comments