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

hypothesis / h / 7008
59%
master: 97%

Build:
Build:
LAST BUILD BRANCH: realtime-update-v1-h-only-1
DEFAULT BRANCH: master
Ran 17 Jul 2015 10:13AM UTC
Jobs 1
Files 66
Run time 4s
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
7008

push

travis-ci

seanh
Add admin users feature

- admin column on users table in db

- Simple HTML page for listing, adding, removing admin users. Error
  message if trying to add a user who doesn't exist. Doesn't let you
  remove the last admin user. Only accessible to admin users.

- `hypothesis admin` command for making a user an admin (needed to make
  the first admin)

- effective_principals() gives the "group:admin" principal if the user
  is an admin user. Also improved the docstring and variable names in
  this function.

- The "group:admin" principal has security.ALL_PERMISSIONS on both root
  resources (app and API)

63 of 63 new or added lines in 6 files covered. (100.0%)

1750 of 2964 relevant lines covered (59.04%)

0.59 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
100.0
h/accounts/views.py
11
100.0
h/script.py

Uncovered Existing Lines

Lines Coverage ∆ File
5
100.0
h/accounts/__init__.py
10
100.0
h/resources.py
29
100.0
h/accounts/views.py
31
100.0
h/auth.py
33
100.0
h/accounts/models.py
34
100.0
h/script.py
Jobs
ID Job ID Ran Files Coverage
1 7008.1 17 Jul 2015 10:13AM UTC 0
59.04
Travis Job 7008.1
Source Files on build 7008
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #7008
  • a928eb5e on github
  • Prev Build on add-admin-users (#6981)
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