-
Notifications
You must be signed in to change notification settings - Fork 90
Add minimal integration test for v1 recipe format #4567
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4567 +/- ##
=======================================
Coverage 80.59% 80.59%
=======================================
Files 141 141
Lines 16122 16122
=======================================
Hits 12994 12994
Misses 3128 3128 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
| PYPI_SIMPLE_API_RESPONSE = json.loads( | ||
| Path(__file__) | ||
| .parent.joinpath("resources/pypi_simple_api_response.json") | ||
| .read_text() | ||
| ) | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This constant was unused. I took the liberty to clean this up.
…sch/cf-scripts into add-tests-for-v1-recipes
|
Turned out that we don't need this particular test case for #4567. |
This PR adds a simple integration test for the new v1 recipe format, ensuring that a pull request for the expected package version is opened. This should serve as a foundation to make the
DependencyUpdateMigratorv1 compatible, as announced here.Making v1 recipes testable required a small refactoring in the
IntegrationTestHelperclass.Description:
Checklist:
Cross-refs, links to issues, etc: