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

pywbem / pywbemtools / 4333
92%
master: 93%

Build:
Build:
LAST BUILD BRANCH: andy/use-published-click-repl
DEFAULT BRANCH: master
Ran 09 Sep 2020 08:15AM 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
4333

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>

3119 of 3386 relevant lines covered (92.11%)

2.76 hits per line

Jobs
ID Job ID Ran Files Coverage
2 4333.2 (PACKAGE_LEVEL=latest) 09 Sep 2020 08:15AM UTC 0
92.03
Travis Job 4333.2
3 4333.3 (PACKAGE_LEVEL=latest) 09 Sep 2020 08:17AM UTC 0
91.89
Travis Job 4333.3
5 4333.5 (PACKAGE_LEVEL=latest) 09 Sep 2020 08:15AM UTC 0
92.0
Travis Job 4333.5
Source Files on build 4333
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4333
  • ce6a07c8 on github
  • Prev Build on andy/pl-order (#4331)
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