Skip to content

fix: decouple e2e tests from deleted Python packages#177

Open
jcabrero wants to merge 1 commit intomainfrom
worktree-agent-ad0288be
Open

fix: decouple e2e tests from deleted Python packages#177
jcabrero wants to merge 1 commit intomainfrom
worktree-agent-ad0288be

Conversation

@jcabrero
Copy link
Member

Summary

  • Replaced all nilai_api.config.CONFIG imports in e2e tests with os.environ.get() calls, removing the dependency on the deleted Python server code.
  • Updated tests/e2e/nuc.py to import PrivateKey from secp256k1 instead of the removed nilai_api.auth.nuc_helpers.
  • Rewrote root pyproject.toml to declare only e2e test-runner dependencies (pytest, httpx, openai, secp256k1) and the nilai-py client workspace member.
  • All 182 e2e tests collect successfully with no import errors.

Test plan

  • AUTH_STRATEGY=api_key uv run pytest tests/e2e/ --collect-only collects 182 tests with zero import errors
  • Full e2e run requires Docker services (not run in this PR)

🤖 Generated with Claude Code

Replace nilai_api.config.CONFIG imports with os.environ.get() calls
so e2e tests no longer depend on the removed Python server code.
Update pyproject.toml to only declare test-runner dependencies.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant