Skip to content

Use pathlib.Path() in catalog frontend; improve test coverage #1204

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

akx
Copy link
Member

@akx akx commented Mar 20, 2025

This is related to #1202 – the deeply nested os.path.join() would have formatted quite poorly, so it felt like a good idea to unnest it – and then I noticed the refactored codepaths weren't tested...

Copy link

codecov bot commented Mar 20, 2025

Codecov Report

Attention: Patch coverage is 91.66667% with 3 lines in your changes missing coverage. Please review.

Project coverage is 91.98%. Comparing base (d7a7589) to head (f2b4e8e).

Files with missing lines Patch % Lines
babel/messages/frontend.py 91.66% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1204      +/-   ##
==========================================
+ Coverage   91.71%   91.98%   +0.26%     
==========================================
  Files          27       27              
  Lines        4685     4691       +6     
==========================================
+ Hits         4297     4315      +18     
+ Misses        388      376      -12     
Flag Coverage Δ
macos-14-3.10 91.02% <91.66%> (+0.26%) ⬆️
macos-14-3.11 90.96% <91.66%> (+0.26%) ⬆️
macos-14-3.12 91.17% <91.66%> (+0.26%) ⬆️
macos-14-3.13 91.17% <91.66%> (+0.26%) ⬆️
macos-14-3.8 90.89% <91.66%> (+0.26%) ⬆️
macos-14-3.9 90.95% <91.66%> (+0.26%) ⬆️
macos-14-pypy3.10 91.02% <91.66%> (+0.26%) ⬆️
ubuntu-24.04-3.10 91.04% <91.66%> (+0.26%) ⬆️
ubuntu-24.04-3.11 90.98% <91.66%> (+0.26%) ⬆️
ubuntu-24.04-3.12 91.19% <91.66%> (+0.26%) ⬆️
ubuntu-24.04-3.13 91.19% <91.66%> (+0.26%) ⬆️
ubuntu-24.04-3.8 90.91% <91.66%> (+0.26%) ⬆️
ubuntu-24.04-3.9 90.97% <91.66%> (+0.26%) ⬆️
ubuntu-24.04-pypy3.10 91.04% <91.66%> (+0.48%) ⬆️
windows-2022-3.10 91.03% <91.66%> (+0.26%) ⬆️
windows-2022-3.11 90.97% <91.66%> (+0.26%) ⬆️
windows-2022-3.12 91.18% <91.66%> (+0.26%) ⬆️
windows-2022-3.13 91.18% <91.66%> (+0.26%) ⬆️
windows-2022-3.8 91.01% <91.66%> (+0.26%) ⬆️
windows-2022-3.9 90.96% <91.66%> (+0.26%) ⬆️
windows-2022-pypy3.10 91.03% <91.66%> (+0.26%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@akx akx marked this pull request as ready for review March 20, 2025 09:20
@akx akx requested a review from tomasr8 March 20, 2025 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant