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

projectatomic / atomic-reactor / 5695
96%

Build:
DEFAULT BRANCH: master
Ran 17 Apr 2018 03:54PM UTC
Jobs 5
Files 75
Run time 10min
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

pending completion
5695

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

7611 of 7968 relevant lines covered (95.52%)

4.65 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5695.1 (OS=centos OS_VERSION=7 PYTHON_VERSION=2) 17 Apr 2018 03:54PM UTC 0
90.02
Travis Job 5695.1
2 5695.2 (OS=fedora OS_VERSION=26 PYTHON_VERSION=2) 17 Apr 2018 03:55PM UTC 0
95.03
Travis Job 5695.2
3 5695.3 (OS=fedora OS_VERSION=26 PYTHON_VERSION=3) 17 Apr 2018 03:56PM UTC 0
92.39
Travis Job 5695.3
4 5695.4 (OS=fedora OS_VERSION=27 PYTHON_VERSION=2) 17 Apr 2018 04:00PM UTC 0
95.03
Travis Job 5695.4
5 5695.5 (OS=fedora OS_VERSION=27 PYTHON_VERSION=3) 17 Apr 2018 04:05PM UTC 0
92.39
Travis Job 5695.5
Source Files on build 5695
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #5695
  • d0d8f331 on github
  • Prev Build on master (#5693)
  • Next Build on master (#5712)
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