Skip to content

Conversation

@janjagusch
Copy link
Contributor

@janjagusch janjagusch commented Aug 7, 2025

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 DependencyUpdateMigrator v1 compatible, as announced here.

Making v1 recipes testable required a small refactoring in the IntegrationTestHelper class.

Description:

Checklist:

  • Pydantic model updated or no update needed

Cross-refs, links to issues, etc:

@codecov
Copy link

codecov bot commented Aug 7, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.59%. Comparing base (4fd3d89) to head (4504c08).
⚠️ Report is 2 commits behind head on main.

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment on lines -8 to -13
PYPI_SIMPLE_API_RESPONSE = json.loads(
Path(__file__)
.parent.joinpath("resources/pypi_simple_api_response.json")
.read_text()
)

Copy link
Contributor Author

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.

@janjagusch janjagusch marked this pull request as ready for review August 8, 2025 12:43
@janjagusch janjagusch requested review from beckermr and ytausch August 8, 2025 12:44
@janjagusch
Copy link
Contributor Author

@beckermr, could we get this PR merged? That would make working on #4575 a bit easier. Thanks a lot!

@janjagusch
Copy link
Contributor Author

Turned out that we don't need this particular test case for #4567.

@janjagusch janjagusch closed this Aug 14, 2025
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.

3 participants