• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

rero / rero-invenio-thumbnails / 24079724079
95%

Build:
DEFAULT BRANCH: staging
Ran 07 Apr 2026 11:48AM UTC
Jobs 3
Files 20
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

07 Apr 2026 11:47AM UTC coverage: 95.165% (+0.02%) from 95.143%
24079724079

push

github

rerowep
fix(bnf): add User-Agent header and real network tests for all providers

* BNF's SRU API rejects requests from the default python-requests
  User-Agent with a TCP reset (error 104 "Connection reset by peer").
  Use rero-invenio-thumbnails/{version} as User-Agent for all BNF
  requests and extend fetch_and_validate_thumbnail to accept headers.
* Add --network pytest flag and @pytest.mark.network tests for every
  provider (BNF, DNB, Google API, Google Books, Open Library) that
  make real HTTP requests and are skipped in the normal test run.

Co-Authored-by: Peter Weber <peter.weber@rero.ch>

433 of 455 relevant lines covered (95.16%)

2.85 hits per line

Coverage Regressions

Lines Coverage ∆ File
4
90.24
0.5% contrib/bnf/api.py
Jobs
ID Job ID Ran Files Coverage
1 24079724079.1 07 Apr 2026 11:48AM UTC 20
95.16
GitHub Action Run
2 24079724079.2 07 Apr 2026 11:48AM UTC 20
95.16
GitHub Action Run
3 24079724079.3 07 Apr 2026 11:48AM UTC 20
95.16
GitHub Action Run
Source Files on build 24079724079
  • Tree
  • List 20
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24079724079
  • 1d4ff048 on github
  • Prev Build on staging (#23751036089)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc