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

Tatsh / pychoco / 25070415960
100%

Build:
DEFAULT BRANCH: master
Ran 28 Apr 2026 06:26PM UTC
Jobs 5
Files 16
Run time 1min
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

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 %.

15 of 15 new or added lines in 3 files covered. (100.0%)

588 of 588 relevant lines covered (100.0%)

5.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 25070415960.1 28 Apr 2026 06:26PM UTC 16
100.0
GitHub Action Run
2 25070415960.2 28 Apr 2026 06:26PM UTC 16
100.0
GitHub Action Run
3 25070415960.3 28 Apr 2026 06:26PM UTC 16
100.0
GitHub Action Run
4 25070415960.4 28 Apr 2026 06:26PM UTC 16
100.0
GitHub Action Run
5 25070415960.5 28 Apr 2026 06:27PM UTC 16
100.0
GitHub Action Run
Source Files on build 25070415960
  • 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 Repo
  • Github Actions Build #25070415960
  • 214f4a5c on github
  • Prev Build on master (#24947954823)
  • Next Build on master (#25262996859)
  • 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