Skip to content
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

Make api_archive mockable again #540

Merged
merged 1 commit into from
Feb 26, 2025
Merged

Make api_archive mockable again #540

merged 1 commit into from
Feb 26, 2025

Conversation

Swatinem
Copy link
Contributor

The recent change to the api_archive.ArchiveService meant that all the mocks that target get_appropriate_storage_service within worker stopped working.

This fixes the mocking within worker by making sure that we always go through get_appropriate_storage_service.

The recent change to the `api_archive.ArchiveService` meant that all the mocks that target `get_appropriate_storage_service` within `worker` stopped working.

This fixes the mocking within `worker` by making sure that we always go through `get_appropriate_storage_service`.
@Swatinem Swatinem requested a review from a team February 26, 2025 12:19
@Swatinem Swatinem self-assigned this Feb 26, 2025
Copy link

codspeed-hq bot commented Feb 26, 2025

CodSpeed Performance Report

Merging #540 will create unknown performance changes

Comparing swatinem/api-storagemock (7d88681) with main (f0be4d9)

Summary

⚠️ No benchmarks were detected in both the base of the PR and the PR.\

@Swatinem Swatinem added this pull request to the merge queue Feb 26, 2025
Merged via the queue into main with commit 520a08e Feb 26, 2025
8 checks passed
@Swatinem Swatinem deleted the swatinem/api-storagemock branch February 26, 2025 14:47
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.

2 participants