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

zopefoundation / AccessControl / 8588583915
82%

Build:
DEFAULT BRANCH: master
Ran 07 Apr 2024 01:23PM 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 09:09AM UTC coverage: 81.316% (+0.2%) from 81.124%
8588583915

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

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 8588583915.1 07 Apr 2024 01:29PM UTC 57
81.32
Source Files on build 8588583915
  • 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
  • 82ab1074 on github
  • Prev Build on master (#8221803356)
  • Next Build on master (#8679961453)
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