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

Tatsh / pychoco / 25070415960 / 4
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 28 Apr 2026 06:26PM UTC
Files 16
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

28 Apr 2026 06:24PM UTC coverage: 100.0%. Remained the same
25070415960.4

push

github

Tatsh
project: accept abstract collections in public APIs

Widen parameter types from concrete `dict` to abstract `Mapping`/
`MutableMapping` so callers can pass any compatible mapping. Defensive
copy in `ChocolateyClient.__init__` prevents the caller's dict from
being mutated by later `add_key`/`config_set` calls.

- utils.entry_to_search_result: ns -> Mapping[str, str]
- config.write_api_keys: api_keys -> Mapping[str, str]
- client.ChocolateyClient.__init__: api_keys -> Mapping[str, str] | None
  with `dict(api_keys)` defensive copy into self.api_keys
- client._process_pages: ns -> Mapping[str, str], results ->
  MutableMapping[str, SearchResult]

Backward compatible: dict satisfies Mapping, so existing callers
continue to work. xml.etree.ElementTree.Element.find requires dict, so
ns is converted once at the top of each function.

Signed-off-by: Andrew Udvare <audvare@gmail.com>

35 of 35 branches covered (100.0%)

Branch coverage included in aggregate %.

588 of 588 relevant lines covered (100.0%)

1.0 hits per line

Source Files on job 25070415960.4
  • Tree
  • List 16
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 25070415960
  • 214f4a5c on github
  • Prev Job for on master (#24947954823.2)
  • Next Job for on master (#25262996859.2)
  • Delete
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