poetry
poetry copied to clipboard
test: fix test due to changes in poetry-core
Related to https://github.com/python-poetry/poetry-core/pull/805
Pull Request Check List
Resolves: #issue-number-here
- [ ] Added tests for changed code.
- [ ] Updated documentation for changed code.
Summary by Sourcery
Tests:
- Update tests to accommodate the format field added to includes and packages.
Reviewer's Guide by Sourcery
This PR updates the tests to accommodate changes introduced in poetry-core. Specifically, it adds the "format" field to includes and packages in the test data.
Class diagram showing updated test data structure
classDiagram
class TestData {
+includes
+packages
}
class Include {
+format: str
+other_fields
}
class Package {
+format: str
+other_fields
}
TestData --> Include: contains
TestData --> Package: contains
note for Include "New format field added"
note for Package "New format field added"
File-Level Changes
| Change | Details | Files |
|---|---|---|
| Update tests to include the format field |
|
tests/test_factory.py |
| Update poetry-core dependency |
|
pyproject.tomlpoetry.lock |
Tips and commands
Interacting with Sourcery
-
Trigger a new review: Comment
@sourcery-ai reviewon the pull request. - Continue discussions: Reply directly to Sourcery's review comments.
- Generate a GitHub issue from a review comment: Ask Sourcery to create an issue from a review comment by replying to it.
-
Generate a pull request title: Write
@sourcery-aianywhere in the pull request title to generate a title at any time. -
Generate a pull request summary: Write
@sourcery-ai summaryanywhere in the pull request body to generate a PR summary at any time. You can also use this command to specify where the summary should be inserted.
Customizing Your Experience
Access your dashboard to:
- Enable or disable review features such as the Sourcery-generated pull request summary, the reviewer's guide, and others.
- Change the review language.
- Add, remove or edit custom review instructions.
- Adjust other review settings.
Getting Help
- Contact our support team for questions or feedback.
- Visit our documentation for detailed guides and information.
- Keep in touch with the Sourcery team by following us on X/Twitter, LinkedIn or GitHub.
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.