• 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/add-shrub-assoc-display
branch: ks/add-shrub-assoc-display
CHANGE BRANCH
x
Reset
  • ks/add-shrub-assoc-display
  • 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/#354-ignore-outputformat
  • 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/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
2856

push

travis-ci

andy-maier
Add support for showing associations as a shrub

Add a new pywbem instance command(shrub), displaying a shrub where
a shrub is a view of the complete association relationship of a
particular cim instance showing not only the reference and
association information but the path of Role, AssocClass, ResultClass,
and ResultRole that formed the chain from the source instance
to the Result instances. It can display the complete set of
relationships or be limited with parameters that are filters to
particular sets of roles, association classes, and result roles.

The result by default is displayed as a tree in the following form

TST_Person.name="Mike"
 +-- member
 |   +-- TST_MemberOfFamilyCollection
 |       +-- family
 |           +-- TST_FamilyCollection(1 insts)
 |               +-- TST_FamilyCollection.name="Family2"
 +-- parent
     +-- TST_Lineage
         +-- child
             +-- TST_Person(2 insts)
                 +-- TST_Person.name="Sofi"
                 +-- TST_Person.name="Gabi"

The shrub may also display a table fo the results or the set
of objects that make up the result (MOF, etc.)

This also includes the capability to shorten the instance
paths displayed by changing selected key/value pairs to the
single character ~ if a) the keys are the same for all associated
instance paths or b) if they are certain known keys including
SystemCreationClassName, CreationClassName, or SystemName under
the assumption that these are all well known and do not really
contribute to separating the instance paths.  This is defaulted
to enabled but may be disabled with the option --no-fullpath.

New Class - Creates a new file and new class, AssociationShrub that
encapsulates all of the code to gather data and present the shrub as
either a table or an ascii tree.

Add complex association model for tests

Adds a ternary association model for shrub testing(complex_assoc).

Extends the documentation to include the new shrub command.

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

2432 of 2713 relevant lines covered (89.64%)

0.9 hits per line

Relevant lines Covered
Build:
Build:
2713 RELEVANT LINES 2432 COVERED LINES
0.9 HITS PER LINE
Source Files on ks/add-shrub-assoc-display
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
2856 ks/add-shrub-assoc-display Add support for showing associations as a shrub Add a new pywbem instance command(shrub), displaying a shrub where a shrub is a view of the complete association relationship of a particular cim instance showing not only the reference and associat... push 09 Mar 2020 10:47AM UTC andy-maier travis-ci pending completion  
2854 ks/add-shrub-assoc-display Add support for showing associations as a shrub Add a new pywbem instance command(shrub), displaying a shrub where a shrub is a view of the complete association relationship of a particular cim instance showing not only the reference and associat... push 09 Mar 2020 10:14AM UTC andy-maier travis-ci pending completion  
2851 ks/add-shrub-assoc-display Add support for showing associations as a shrub Add a new pywbem instance command(shrub), displaying a shrub where a shrub is a view of the complete association relationship of a particular cim instance showing not only the reference and associat... push 09 Mar 2020 09:59AM UTC andy-maier travis-ci pending completion  
2844 ks/add-shrub-assoc-display Fix Andy's comment push 09 Mar 2020 02:23AM UTC KSchopmeyer travis-ci pending completion  
2841 ks/add-shrub-assoc-display Fix Andy's comment push 08 Mar 2020 04:50PM UTC KSchopmeyer travis-ci pending completion  
2836 ks/add-shrub-assoc-display Fixes issue #19 - Show associations as tree Add a new pywbem instance command(shrub), displaying a shrub where a shrub is a view of the complete association relationship of a particular cim instance showing not only the reference and association ... push 05 Mar 2020 07:43PM UTC KSchopmeyer travis-ci pending completion  
2834 ks/add-shrub-assoc-display Fixes issue #19 - Show associations as tree Add a new pywbem instance command(shrub), displaying a shrub where a shrub is a view of the complete association relationship of a particular cim instance showing not only the reference and association ... push 05 Mar 2020 04:36PM UTC KSchopmeyer travis-ci pending completion  
2664 ks/add-shrub-assoc-display Add complex association model for tests Adds a ternary association model for shrub testing. push 13 Dec 2019 04:10PM 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