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

projectatomic / atomic-reactor / 5695 / 5
96%
master: 96%

Build:
DEFAULT BRANCH: master
Ran 17 Apr 2018 04:05PM UTC
Files 75
Run time 4s
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

17 Apr 2018 03:46PM UTC coverage: 92.395% (+0.004%) from 92.391%
OS=fedora OS_VERSION=27 PYTHON_VERSION=3

push

travis-ci

lcarva
Fix mock_get_retry_session()

mock_get_retry_session() didn't work as expected if some other code did:

 from util import get_retrying_requests_session

because mocking util.get_retrying_requests_session would either do nothing
if the above was executed before the call mock_get_retry_session(), or
if the import happened to happen *during* the scope of the mock (pre_reactor_config
imports odcs_util inside a function), then the import would make a copy
of the mocked function, and usage in some other mock scope would throw an
exception.

Add a special-purpose hook in util.py that can be safely mocked to disable
retries for the scope of the mock.

Fixes #969

7362 of 7968 relevant lines covered (92.39%)

0.92 hits per line

Source Files on job 5695.5 (OS=fedora OS_VERSION=27 PYTHON_VERSION=3)
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 5213
  • Travis Job 5695.5
  • d0d8f331 on github
  • Prev Job for OS=fedora OS_VERSION=27 PYTHON_VERSION=3 on master (#5693.5)
  • Next Job for OS=fedora OS_VERSION=27 PYTHON_VERSION=3 on master (#5712.5)
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