Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions python/copilot/py.typed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

4 changes: 2 additions & 2 deletions python/e2e/testharness/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def get_cli_path() -> str:
return cli_path

# Look for CLI in sibling nodejs directory's node_modules
base_path = Path(__file__).parent.parent.parent.parent
base_path = Path(__file__).parents[3] # equivalent to: path.parent.parent.parent.parent
full_path = base_path / "nodejs" / "node_modules" / "@github" / "copilot" / "index.js"
if full_path.exists():
return str(full_path.resolve())
Expand All @@ -35,7 +35,7 @@ def get_cli_path() -> str:


CLI_PATH = get_cli_path()
SNAPSHOTS_DIR = Path(__file__).parent.parent.parent.parent / "test" / "snapshots"
SNAPSHOTS_DIR = Path(__file__).parents[3] / "test" / "snapshots"


class E2ETestContext:
Expand Down