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

thumbor / remotecv / 40150536431
94%

Build:
DEFAULT BRANCH: master
Ran 25 Oct 2026 01:25AM UTC
Jobs 5
Files 25
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

25 Oct 2026 01:24AM UTC coverage: 93.962%. Remained the same
40150536431

push

github

web-flow
Make Redis-backed tests runnable on their own (#134)

The test classes in test_redis.py, test_result_store.py and
test_unique_queue.py call redis_client(), which records a timing metric on
context.metrics, but none of them set that attribute up. They passed in the
full run only because modules earlier in the alphabetical order assigned a
Mock to context.metrics in their setUp and the global Context object kept it
around. Running any of the three files alone, as in
`pytest tests/test_unique_queue.py`, failed 30 tests with "'Context' object
has no attribute 'metrics'". A new autouse fixture in tests/conftest.py now
gives every test a fresh mock.Mock() before it runs, so no module depends on
which one happened to run first.

With the fixture in place the setUp methods whose only job was that
assignment became redundant and are removed, along with the imports they
kept alive. Tests that assert on the metrics mock keep their own
assignment in the body so the expectation stays explicit next to the
assertion. Verified by running every module on its own, the full suite in
forward and reverse file order (139 passed), and black, isort, flake8 and
pylint.

638 of 679 relevant lines covered (93.96%)

4.7 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-3.15 - 40150536431.1 25 Oct 2026 01:26AM UTC 25
93.96
GitHub Action Run
2 run-3.14 - 40150536431.2 25 Oct 2026 01:25AM UTC 25
93.96
GitHub Action Run
3 run-3.12 - 40150536431.3 25 Oct 2026 01:26AM UTC 25
93.96
GitHub Action Run
4 run-3.11 - 40150536431.4 25 Oct 2026 01:25AM UTC 25
93.96
GitHub Action Run
5 run-3.13 - 40150536431.5 25 Oct 2026 01:26AM UTC 25
93.96
GitHub Action Run
Source Files on build 40150536431
  • Tree
  • List 25
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #40150536431
  • 044d6059 on github
  • Prev Build on master (#39997351224)
  • Next Build on master (#40150857986)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc