File tree Expand file tree Collapse file tree
platform-integrations/bob/evolve-lite/skills/evolve-lite:subscribe/scripts
tests/platform_integrations Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -118,6 +118,7 @@ def main():
118118 # Rollback: remove cloned directory if config save failed
119119 if cloned_now and dest .exists ():
120120 import shutil
121+
121122 shutil .rmtree (dest )
122123 raise
123124
Original file line number Diff line number Diff line change 11"""Tests for subscribe.py and unsubscribe.py."""
22
3+ import importlib .util
34import json
45import os
56import subprocess
1011
1112_IS_WINDOWS = sys .platform == "win32"
1213
13- sys .path .insert (
14- 0 ,
15- str (Path (__file__ ).parent .parent .parent / "platform-integrations/claude/plugins/evolve-lite/lib" ),
16- )
17- import config as cfg_module
14+
15+ def _load_claude_config_module ():
16+ path = Path (__file__ ).parent .parent .parent / "platform-integrations/claude/plugins/evolve-lite/lib/config.py"
17+ spec = importlib .util .spec_from_file_location ("claude_evolve_lite_config_subscribe" , path )
18+ module = importlib .util .module_from_spec (spec )
19+ spec .loader .exec_module (module )
20+ return module
21+
22+
23+ cfg_module = _load_claude_config_module ()
1824
1925pytestmark = [pytest .mark .platform_integrations , pytest .mark .e2e ]
2026
You can’t perform that action at this time.
0 commit comments