Restructure as Codex plugin
This commit is contained in:
@@ -12,7 +12,7 @@ from unittest import mock
|
||||
|
||||
|
||||
REPO_ROOT = Path(__file__).resolve().parents[1]
|
||||
sys.path.insert(0, str(REPO_ROOT / "scripts"))
|
||||
sys.path.insert(0, str(REPO_ROOT / "skills" / "last30days" / "scripts"))
|
||||
|
||||
import last30days as cli
|
||||
from lib import schema
|
||||
@@ -53,7 +53,7 @@ class CliV3Tests(unittest.TestCase):
|
||||
|
||||
def test_mock_json_cli(self):
|
||||
result = subprocess.run(
|
||||
[sys.executable, "scripts/last30days.py", "test topic", "--mock", "--emit=json"],
|
||||
[sys.executable, "skills/last30days/scripts/last30days.py", "test topic", "--mock", "--emit=json"],
|
||||
cwd=REPO_ROOT,
|
||||
capture_output=True,
|
||||
text=True,
|
||||
|
||||
Reference in New Issue
Block a user