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

pywbem / nocasedict / 109 / 3
97%
master: 97%

Build:
Build:
LAST BUILD BRANCH: stable_2.2
DEFAULT BRANCH: master
Ran 24 Jul 2020 10:19PM UTC
Files 5
Run time 0s
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

24 Jul 2020 10:16PM UTC coverage: 97.546% (+0.6%) from 96.97%
PACKAGE_LEVEL=latest

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>

159 of 163 relevant lines covered (97.55%)

0.98 hits per line

Source Files on job 109.3 (PACKAGE_LEVEL=latest)
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 83
  • Travis Job 109.3
  • 73e10564 on github
  • Prev Job for PACKAGE_LEVEL=latest on andy/hashable-keyable (#107.3)
  • Next Job for PACKAGE_LEVEL=latest on andy/hashable-keyable (#111.3)
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