Commit b3e7296
Remove parse_plugin_source/get_cache_path, slim plugin tests
- Remove parse_plugin_source and get_cache_path from plugin/fetch.py;
callers should use extensions.fetch directly.
- Slim test_plugin_fetch.py from 1038 to 100 lines: keep only
PluginFetchError wrapping, DEFAULT_CACHE_DIR, and Plugin.fetch() tests.
- Move git infrastructure tests (clone, update, checkout, locking,
GitHelper errors, get_default_branch) to tests/sdk/git/test_cached_repo.py.
- Update test_installed_plugins.py to import from extensions.fetch.
Co-authored-by: openhands <openhands@all-hands.dev>1 parent e099061 commit b3e7296
File tree
4 files changed
+537
-1052
lines changed- openhands-sdk/openhands/sdk/plugin
- tests/sdk
- git
- plugin
4 files changed
+537
-1052
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
17 | 15 | | |
18 | 16 | | |
19 | 17 | | |
| |||
25 | 23 | | |
26 | 24 | | |
27 | 25 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | 26 | | |
77 | 27 | | |
78 | 28 | | |
| |||
0 commit comments