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

PulpQE / pulp-smash / 3012
63%

Build:
DEFAULT BRANCH: master
Ran 28 Mar 2019 04:06PM UTC
Jobs 3
Files 14
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

pending completion
3012

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 3012.1 28 Mar 2019 04:07PM UTC 0
63.42
Travis Job 3012.1
2 3012.2 28 Mar 2019 04:06PM UTC 0
63.42
Travis Job 3012.2
3 3012.3 28 Mar 2019 04:06PM UTC 0
63.42
Travis Job 3012.3
Source Files on build 3012
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3012
  • c7a71b1c on github
  • Prev Build on master (#3010)
  • Next Build on master (#3016)
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