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

allegro / ralph / 666
68%
ng: 85%

Build:
Build:
LAST BUILD BRANCH: doc-fixes
DEFAULT BRANCH: ng
Ran 17 Jul 2014 07:19AM UTC
Jobs 1
Files 292
Run time 3min
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

pending completion
666

Pull #980

travis-ci

xor-xor
Added 'ACLGateway' class which enforces permissions checks (via
'ralph_permission' decorator on 'dispatch' metod) and which should be
present in mro path of every class-based view.

Fixed 'ralph_permission' decorator and added 'decorated_with' property to it
(for faciliating unit tests).

Applied 'ralph_permission' decorator to the function-based views.

Added test checking if every view inherits from 'ACLGateway' class (for
class-based views) or is decorated with 'ralph_permission' decorator
(for function-based views) - both of them are for enforcing permissions
checks. This test includes a list of excluded callbacks and callbacks
decorated manually (i.e. not inheriting from 'ACLGateway' class) - for
the explaination see the comments in the source code.
Pull Request #980: Ralph's views permissions review and fixes.

55 of 55 new or added lines in 9 files covered. (100.0%)

12052 of 25435 relevant lines covered (47.38%)

0.47 hits per line

Uncovered Changes

Lines Coverage ∆ File
5
100.0
src/ralph/account/models.py
2
100.0
src/ralph/dnsedit/views.py

Coverage Regressions

Lines Coverage ∆ File
2
100.0
src/ralph/dnsedit/views.py
Jobs
ID Job ID Ran Files Coverage
1 666.1 17 Jul 2014 07:19AM UTC 0
47.38
Travis Job 666.1
Source Files on build 666
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #666
  • Pull Request #980
  • PR Base - develop (#665)
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