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

zopefoundation / AccessControl / 8588583915 / 1
83%
master: 83%

Build:
DEFAULT BRANCH: master
Ran 07 Apr 2024 01:29PM UTC
Files 57
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

13 Mar 2024 09:09AM UTC coverage: 81.316% (+0.2%) from 81.124%
8588583915.1

push

github

web-flow
Make dict views behave like their unrestricted versions (#147)

unlike the restricted versions, the unrestricted versions:
 - are not iterators, they are views
 - have a len
 - are false when the mapping is empty, true otherwise
 - are instances of collections.abc.MappingView

This change aligns the behavior of restricted versions with the behavior
of unrestricted one, while keeping the "guard", which validates the
access with the security manager.

During this refactoring, also change `.items()` to validate
each keys and values, like `.keys()` and `.values()` do.

Co-authored-by: Dieter Maurer <d-maurer@users.noreply.github.com>

951 of 1475 branches covered (64.47%)

Branch coverage included in aggregate %.

5055 of 5911 relevant lines covered (85.52%)

5.12 hits per line

Source Files on job 8588583915.1
  • Tree
  • List 57
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 8588583915
  • 82ab1074 on github
  • Prev Job for on master (#8221803356.1)
  • Next Job for on master (#8679961453.1)
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