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

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

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

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%)

1.9 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3013.1 28 Mar 2019 06:19PM UTC 0
63.42
Travis Job 3013.1
2 3013.2 28 Mar 2019 06:19PM UTC 0
63.42
Travis Job 3013.2
3 3013.3 28 Mar 2019 06:18PM UTC 0
63.42
Travis Job 3013.3
Source Files on build 3013
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3013
  • 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