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

zopefoundation / AccessControl / 8261778867
81%
master: 83%

Build:
Build:
LAST BUILD BRANCH: 7.3
DEFAULT BRANCH: master
Ran 13 Mar 2024 08:49AM UTC
Jobs 1
Files 57
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

13 Mar 2024 08:41AM UTC coverage: 81.316% (+0.2%) from 81.124%
8261778867

Pull #148

github

perrinjerome
Make dict views behave like their unrestricted versions

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
ach keys and values, like `.keys()` and `.values()` do.

Co-authored-by: Dieter Maurer <d-maurer@users.noreply.github.com>
Pull Request #148: Make dict views behave like their unrestricted versions

951 of 1475 branches covered (64.47%)

Branch coverage included in aggregate %.

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

5055 of 5911 relevant lines covered (85.52%)

5.12 hits per line

Jobs
ID Job ID Ran Files Coverage
1 8261778867.1 13 Mar 2024 08:51AM UTC 57
81.32
Source Files on build 8261778867
  • 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 Repo
  • Pull Request #148
  • PR Base - master (#8076754005)
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

© 2025 Coveralls, Inc