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

pywbem / pywbemtools
90%
master: 93%

Build:
Build:
LAST BUILD BRANCH: andy/pywbem-1.8.0
DEFAULT BRANCH: master
Repo Added 30 Sep 2019 11:04AM UTC
Files 43
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

LAST BUILD ON BRANCH ks/#354-ignore-outputformat
branch: ks/#354-ignore-outputformat
CHANGE BRANCH
x
Reset
  • ks/#354-ignore-outputformat
  • 0.5.1
  • 0.5.2
  • 0.5/andy/add-debugger
  • 0.5/andy/constrain-py-version
  • 0.5/andy/coveralls-py38
  • 0.5/andy/fix-class-find-namespace
  • 0.5/andy/fix-coveralls
  • 0.5/andy/fix-cygwin
  • 0.5/andy/fix-flake8
  • 0.5/andy/fix-functools32
  • 0.5/andy/fix-importwarning
  • 0.5/andy/fix-prereqs-minimum
  • 0.5/andy/fix-py37
  • 0.5/andy/fix-pytest-minimum
  • 0.5/andy/fix-pyyaml-pywbem-versions
  • 0.5/andy/fix-readme
  • 0.5/andy/fix-requires-python
  • 0.5/andy/min-pywbem
  • 0.5/andy/pin-dparse-py27
  • 0.5/andy/pin-pywbem
  • 0.5/andy/readme-renderer-py34
  • 0.5/andy/reduce-appveyor
  • 0.5/andy/update-cmdshelp
  • 0.5/ks/#419-mixed-formatter
  • 0.5/ks/#530-use_pull_error
  • 0.5/ks/extend-coverage
  • 0.6.0
  • 0.6.1
  • 0.6/andy/fix-conn-save
  • 0.6/andy/fix-flake8
  • 0.6/andy/fix-readme-short-output
  • 0.6/andy/pin-pywbem
  • 0.7.0
  • 0.7.1
  • 0.7.2
  • 0.7.3
  • 0.7/andy/fix-jinja2-py34
  • 0.7/andy/fix-mofcomp
  • 0.7/andy/fix-sorted-plist
  • 0.7/andy/fix-win995
  • 0.7/fix-virtualenv-py34
  • 0.7/ks/#224-py2-repl-exception
  • 0.7/ks/#680-testsuite-loses-connectionfile
  • 0.7/ks/#testwithpywbem100
  • 0.8.0
  • 1.3/andy/fix-macos-12
  • 1.3/andy/fix-pip-missing-reqs
  • 1.3/andy/fix-safety
  • 1.3/andy/safety-2025-06-29
  • 1.3/andy/safety-2025-08-02
  • andy/add-debugger
  • andy/add-make-todo
  • andy/add-piplist
  • andy/add-pypy-py38
  • andy/add-version-option
  • andy/align-qualifiers
  • andy/appveyor-add-pip-list
  • andy/appveyor-minor-improvements
  • andy/cache-docs
  • andy/cached-mock
  • andy/change-pywbem-branch
  • andy/check-no-warnings
  • andy/cleanup-appveyor
  • andy/cleanup-exit-text
  • andy/cleanup-test-pywbemserver
  • andy/click-711
  • andy/connrepo
  • andy/constrain-py-version
  • andy/coveralls-py
  • andy/coveralls-py38
  • andy/deprecate-27-34
  • andy/doc-fixes
  • andy/enforce-pylint
  • andy/ensure-cmdshelp
  • andy/exclude-py3.13.1
  • andy/fix-appveyor-cygwin-py27
  • andy/fix-badges
  • andy/fix-capsys
  • andy/fix-class-find-namespace
  • andy/fix-click-71
  • andy/fix-cmdshelp
  • andy/fix-colorama
  • andy/fix-compile-dmtf-schema
  • andy/fix-conn-save
  • andy/fix-coverage
  • andy/fix-coveralls
  • andy/fix-cygwin
  • andy/fix-funcsigs-dep
  • andy/fix-functools32
  • andy/fix-future
  • andy/fix-help-order
  • andy/fix-importwarning
  • andy/fix-jinja2-py34
  • andy/fix-method-provider
  • andy/fix-missing-props-in-table-output
  • andy/fix-nocasedict
  • andy/fix-pip-install
  • andy/fix-prereqs-minimum
  • andy/fix-py37
  • andy/fix-pylint
  • andy/fix-pytest-minimum
  • andy/fix-python-version
  • andy/fix-python-warnings
  • andy/fix-pywbem-10
  • andy/fix-readme
  • andy/fix-readme-short-output
  • andy/fix-rtd-badge
  • andy/fix-safety
  • andy/fix-sorted-plist
  • andy/fix-test-assertion
  • andy/fix-test-pdb
  • andy/fix-travis-py3
  • andy/fix-twine
  • andy/fix-typed-ast
  • andy/fix-virtualenv-py34
  • andy/fix-win995
  • andy/fix-x509
  • andy/help-120
  • andy/help-width
  • andy/improve-diagnostics
  • andy/improve-url-errors
  • andy/install-test
  • andy/install-using-uv
  • andy/install-with-pipx
  • andy/issue-131
  • andy/last-pytest
  • andy/min-pywbem
  • andy/move-debug-print
  • andy/no-spinner
  • andy/pin-dparse-py27
  • andy/pl-order
  • andy/promote-to-beta
  • andy/pylint
  • andy/pylint3
  • andy/pylint42
  • andy/pytest
  • andy/pytest-common
  • andy/pytest-table
  • andy/pywbem-0.17
  • andy/pywbem-released
  • andy/pywbem-requests
  • andy/pywbem111
  • andy/pywbem_0.16
  • andy/readme-pypi
  • andy/readme-renderer-py34
  • andy/reduce-appveyor
  • andy/remove-pbr
  • andy/rename-connections-file
  • andy/resolve-todos
  • andy/safety-2025-03-01
  • andy/safety-2025-06-29
  • andy/security-fixes
  • andy/server-profiles-sorting
  • andy/simplify-flake8
  • andy/sphinx-theme
  • andy/switch-badges
  • andy/tell-tests
  • andy/test-latest
  • andy/towncrier
  • andy/unit-support
  • andy/update-changelog-0.7.1
  • andy/update-cmdshelp
  • andy/upgrade-nocase
  • andy/use-pywbem-beta
  • andy/valuemap
  • andy/valuemap-arrays
  • andy/warnings
  • ks/#123-cmd-rtn-consistency
  • ks/#1441-test-crepl-fork
  • ks/#183-multi-ns-test
  • ks/#224-py2-repl-exception
  • ks/#255-doc-reorg-by-tool
  • ks/#350-unsetting-general-options
  • ks/#390-alternate-keydef
  • ks/#419-mixed-formatter
  • ks/#443-filter-class-returns
  • ks/#446-options-after-args
  • ks/#458-reftest-fail
  • ks/#459-pick-instance-order
  • ks/#466-args-config-string
  • ks/#489-2-remove-pywbem-mofstr
  • ks/#489-remove-pywbem-internals-usage
  • ks/#504-pywbem100-issues
  • ks/#510-cmds-order-display-pydependent
  • ks/#529-use-pull
  • ks/#530-use_pull_error
  • ks/#556-connection-list-table
  • ks/#577-increase-coverage
  • ks/#583-new-format-strings
  • ks/#594-add-text-outputfmt
  • ks/#595-add-dock-repl-search
  • ks/#596-command-file-location
  • ks/#598-add-to-doc-index
  • ks/#606-fix-connection-test-cmd
  • ks/#612-reorg-profiles
  • ks/#637-compiler-err-msgs
  • ks/#657-missing-associated-instances
  • ks/#660-gen-help
  • ks/#661-connection-file-fail-msgs
  • ks/#663-connectfile-load-fail
  • ks/#672-add-option-groups
  • ks/#678-add-classfilters
  • ks/#680-testsuite-loses-connectionfile
  • ks/#694-pull-max-cnt
  • ks/#721-title-wbem-table
  • ks/#724-statistics-display
  • ks/#725-py2-exception-withhelp
  • ks/#730-err-msg
  • ks/#732-cleanup-show-command
  • ks/#732a-refactor-pywbemcli
  • ks/#751-pylint-pdbpp
  • ks/#766-invalid-qualdecl-in-test
  • ks/#move_display_cimobject
  • ks/#testwithpywbem100
  • ks/704-assoc-shrub-instnames
  • ks/add-shrub-assoc-display
  • ks/auto-suggest
  • ks/clean-test-mof
  • ks/connection-show-to-table
  • ks/extend-coverage
  • ks/fix-pip-missing-reqs
  • ks/fix-pywbem0150-incompatibility
  • ks/hide-diagonstic-display
  • ks/hide-tst-msgs
  • ks/instancename-one-choice
  • ks/misc-error-tests
  • ks/more-tests-to-pytest
  • ks/refactor-tree
  • ks/remove-unused-function
  • ks/remove_pydicti-pkg
  • ks/separate-test-mock-install
  • ks/shrub-add-nocaselist
  • ks/test-error-responses
  • ks/tests-to-pytest
  • ks/to_pytest
  • ks/unify-print-format-stmts
  • ks/warning-msgs
  • master
  • release_0.5.1
  • release_0.5.2
  • release_0.6.0
  • release_0.6.0-fix
  • release_0.6.1
  • release_0.7.0
  • release_0.7.1
  • release_0.7.2
  • release_0.7.3
  • release_0.8.0
  • stable_0.5
  • stable_0.6
  • stable_0.7
  • stable_0.8
  • stable_0.9
  • stable_1.0
  • stable_1.1
  • stable_1.2
  • stable_1.3
  • start_0.6.1
  • start_0.7.0
  • start_0.7.1
  • start_0.7.3
  • start_0.8.0
  • start_0.8.1
  • start_0.9.0

pending completion
2957

push

travis-ci

andy-maier
Fixes Issue # 354, Command-specific default output format & improve output format validation

1. Set default for output format general option to None.

2. Implement testing of each command for allowed output formats
for that command.

  a. Create a function in common.py (validate_output_format)
whose parameters are  the cmdline input format,  the allowed
format types (CIM, TABLE), and the default output_format
if the cmd line output_format is the default (None).  If the function
is called with a output_format that is not
allowed it generates an exception. Otherwise it returns the
output_format to be used for the command.

  b. Add this function to each command action function that
returns data so that each command is tested against the
cmd line output_format for valid output format type and also
provides its default if the general option is None.

Note that this function call is not added to commands like
instance delete that return nothing.

3. Add tests for invalid format for specific commands

4. Adds a test of the new common function.

4. Modify the documentation to include a table of allowed output
formats for each command.

2505 of 2795 relevant lines covered (89.62%)

0.9 hits per line

Relevant lines Covered
Build:
Build:
2795 RELEVANT LINES 2505 COVERED LINES
0.9 HITS PER LINE
Source Files on ks/#354-ignore-outputformat
  • List 0
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
2957 ks/#354-ignore-outputformat Fixes Issue # 354, Command-specific default output format & improve output format validation 1. Set default for output format general option to None. 2. Implement testing of each command for allowed output formats for that command. a. Create ... push 11 Mar 2020 10:32PM UTC andy-maier travis-ci pending completion  
2927 ks/#354-ignore-outputformat Fixes Issue # 354, Command-specific default output format & improve output format validation 1. Set default for output format general option to None. 2. Implement testing of each command for allowed output formats for that command. a. Create ... push 11 Mar 2020 03:55PM UTC KSchopmeyer travis-ci pending completion  
2903 ks/#354-ignore-outputformat Fixes Issue # 354, Made default output format None 1. Set default for output format general option to None. 2. Create a function in common.py (validate_output_format) whose parameters are the cmdline input format, the allowed format types (CIM... push 10 Mar 2020 06:46PM UTC KSchopmeyer travis-ci pending completion  
See All Builds (2408)
  • Repo 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

© 2025 Coveralls, Inc