Skip to content

test: improve extract.py coverage and address async safety issues

ac12b3d
Select commit
Loading
Failed to load commit list.
Open

fix: eliminate async safety violations and migrate to pathlib #697

test: improve extract.py coverage and address async safety issues
ac12b3d
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Nov 24, 2025 in 0s

86.40% (target 70.00%)

View this Pull Request on Codecov

86.40% (target 70.00%)

Details

Codecov Report

❌ Patch coverage is 98.33333% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 86.40%. Comparing base (651c894) to head (ac12b3d).

Files with missing lines Patch % Lines
src/kleinanzeigen_bot/extract.py 98.03% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #697      +/-   ##
==========================================
+ Coverage   84.24%   86.40%   +2.15%     
==========================================
  Files          20       20              
  Lines        2019     2052      +33     
  Branches      393      393              
==========================================
+ Hits         1701     1773      +72     
+ Misses        182      142      -40     
- Partials      136      137       +1     
Files with missing lines Coverage Δ
src/kleinanzeigen_bot/utils/web_scraping_mixin.py 92.33% <100.00%> (+0.05%) ⬆️
src/kleinanzeigen_bot/extract.py 85.28% <98.03%> (+12.80%) ⬆️

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 651c894...ac12b3d. Read the comment docs.

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