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

Tatsh / ripcd / 26323687818 / 1
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 23 May 2026 04:40AM UTC
Files 3
Run time 0s
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

23 May 2026 04:39AM UTC coverage: 100.0%. Remained the same
26323687818.1

push

github

Tatsh
tests/test_rip: use explicit AsyncMock for cddb_query patches

`deltona.media.cddb_query` is wrapped by `async_lru._LRUCacheWrapper`,
a callable class instance rather than a plain `async def`. Python
3.12+ recognises it as a coroutine function and `mock.patch` therefore
auto-creates an `AsyncMock`, but Python 3.10 and 3.11 do not, so the
patch defaults to a regular `MagicMock`. That produced
`TypeError: object CDDBQueryResult can't be used in 'await' expression`
on the 3.10/3.11 CI jobs after `_query_cddb` was made async.

Patch the symbol with `new_callable=AsyncMock` everywhere so the
behaviour is the same across all supported Python versions and does
not depend on `mock.patch` auto-detection.

Signed-off-by: Andrew Udvare <audvare@gmail.com>

30 of 30 branches covered (100.0%)

Branch coverage included in aggregate %.

206 of 206 relevant lines covered (100.0%)

1.0 hits per line

Source Files on job 26323687818.1
  • Tree
  • List 3
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 26323687818
  • a992c34c on github
  • Prev Job for on master (#26323587824.2)
  • Next Job for on master (#26323819414.4)
  • 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