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

PulpQE / pulp-smash / 3013 / 1
63%
master: 63%

Build:
Build:
LAST BUILD BRANCH: 5873
DEFAULT BRANCH: master
Ran 28 Mar 2019 06:19PM UTC
Files 14
Run time 1s
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

28 Mar 2019 02:53PM UTC coverage: 63.421%. First build
3013.1

push

travis-ci

bherrin3
Lazy load the cli.Client machine

Problem:

Everytime we instantiate a new instance of `cli.Client` its `__init__` method
code tries to make communication with the remote host to determine if it is
a local or ssh machine to be used.

The communication with `machine` should be done only when it is necessary,
which is when the `run` command is called.

Solution:

Transform `machine` in a lazy `@property` then it is instantiated only
when it is first called.

775 of 1222 relevant lines covered (63.42%)

0.63 hits per line

Source Files on job 3013.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2797
  • Travis Job 3013.1
  • c7a71b1c on github
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