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

pywbem / nocasedict / 155
97%
master: 97%

Build:
Build:
LAST BUILD BRANCH: stable_2.2
DEFAULT BRANCH: master
Ran 25 Jul 2020 02:56PM UTC
Jobs 1
Files 5
Run time 1s
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
155

push

travis-ci

andy-maier
Added HashableMixin/KeyableByMixin; Consolidated init/update

Details:

* Added a HashableMixin mixin class that adds support for
  hashability.

  To support the case_insensitive hash function, added
  a method keys_nocase() to NocaseDict.

  Split the testcases for hashability out into a separate
  test module test_hashable.py

* Added a KeyableByMixin() function that creates a mixin class
  that adds support for initializing or updating from iterables
  of objects that have a key attribute.

  Added a testcase module test_keyableby.py.

* Consolidated the implementations of __init__() and update()
  such that update() has the complete implementation, supporting
  objects with a key attribute, and __init__() delegates to
  update().

* Increased the max-parents parameter of Pylint from 7 to 14,
  because a user-defined class using NocaseDict and its two
  mixins has already 10 parents.

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

165 of 170 relevant lines covered (97.06%)

0.97 hits per line

Jobs
ID Job ID Ran Files Coverage
3 155.3 (PACKAGE_LEVEL=latest) 25 Jul 2020 02:56PM UTC 0
97.06
Travis Job 155.3
Source Files on build 155
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #155
  • a94f2cb0 on github
  • Prev Build on andy/hashable-keyable (#143)
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