Skip to content

test: cover module entrypoint#10883

Open
theamodhshetty wants to merge 2 commits into
python-poetry:mainfrom
theamodhshetty:codex/test-main-entrypoint
Open

test: cover module entrypoint#10883
theamodhshetty wants to merge 2 commits into
python-poetry:mainfrom
theamodhshetty:codex/test-main-entrypoint

Conversation

@theamodhshetty
Copy link
Copy Markdown
Contributor

Summary

  • add a focused regression test for the python -m poetry module entrypoint
  • assert the entrypoint delegates to poetry.console.application.main() and exits with its status code

Tests

  • .venv/bin/python -m pytest tests/test_main.py -n 0

Relates-to: #3155

Copy link
Copy Markdown

@sourcery-ai sourcery-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

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