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

pywbem / pywbemtools / 4337
93%

Build:
DEFAULT BRANCH: master
Ran 10 Sep 2020 10:57PM UTC
Jobs 3
Files 21
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
4337

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>

21 of 21 new or added lines in 4 files covered. (100.0%)

3122 of 3387 relevant lines covered (92.18%)

2.76 hits per line

Jobs
ID Job ID Ran Files Coverage
2 4337.2 (PACKAGE_LEVEL=latest) 10 Sep 2020 10:57PM UTC 0
92.09
Travis Job 4337.2
3 4337.3 (PACKAGE_LEVEL=latest) 10 Sep 2020 10:58PM UTC 0
91.94
Travis Job 4337.3
5 4337.5 (PACKAGE_LEVEL=latest) 10 Sep 2020 10:59PM UTC 0
92.06
Travis Job 4337.5
Source Files on build 4337
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4337
  • 809a4592 on github
  • Prev Build on master (#4336)
  • Next Build on master (#4344)
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