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

pywbem / pywbemtools / 4333 / 5
92%
master: 93%

Build:
Build:
LAST BUILD BRANCH: andy/use-published-click-repl
DEFAULT BRANCH: master
Ran 09 Sep 2020 08:15AM UTC
Files 21
Run time 27s
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

09 Sep 2020 08:04AM UTC coverage: 92.005% (+0.9%) from 91.089%
PACKAGE_LEVEL=latest

push

travis-ci

andy-maier
Consolidated retrieval of terminal width

Details:

* There were multiple places that determined table width or terminal width
  in different ways. This change adds a function get_terminal_width() that
  consolidates all these ways. The PYWBEMCLI_TERMWIDTH env var has the
  highest priority. If that is not set, then the USE_TERMINAL_WIDTH config
  variable determines whether the DEFAULT_TABLE_WIDTH config variable is used
  or the dynamically determined terminal width as per click.get_terminal_size().

* As par of this change, moved the definition of the PYWBEMCLI_TERMWIDTH
  env var from pywbemServer into the _utils module, in order to avoid
  circular module references.

* Adjusted the table output width of a testcase, because _display_instances_as_table()
  had used DEFAULT_TABLE_WIDTH (150) and now uses get_terminal_width()
  (120 during the tests).

* Added a testcase for command 'instance shrub' with reduced terminal width
  in order to trigger path folding.

Signed-off-by: Andreas Maier <andreas.r.maier@gmx.de>

3199 of 3477 relevant lines covered (92.0%)

0.92 hits per line

Source Files on job 4333.5 (PACKAGE_LEVEL=latest)
  • Tree
  • List 0
  • Changed 16
  • Source Changed 0
  • Coverage Changed 16
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1020
  • Travis Job 4333.5
  • ce6a07c8 on github
  • Prev Job for PACKAGE_LEVEL=latest on andy/pl-order (#4331.2)
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