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

hypothesis / h / 7318
63%
master: 97%

Build:
Build:
LAST BUILD BRANCH: realtime-update-v1-h-only-1
DEFAULT BRANCH: master
Ran 30 Jul 2015 11:48AM UTC
Jobs 1
Files 76
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
7318

push

travis-ci

nickstenning
Slightly better slug redirections

This commit slightly simplifies the handling of requests with missing
slugs, while also catering for another common scenario: mistyped slugs.

Now, given a group with hashid "abc123" and slug "hello-world", all of
the following paths will redirect to "/groups/abc123/hello-world":

    /groups/abc123
    /groups/abc123/
    /groups/abc123/hello-wolrd

Any more path components will throw a 404 as before.

In addition, the redirect is now served as a 301 Moved Permanently.

8 of 8 new or added lines in 1 file covered. (100.0%)

1968 of 3133 relevant lines covered (62.82%)

0.63 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
100.0
h/groups/views.py

Uncovered Existing Lines

Lines Coverage ∆ File
2
100.0
h/api/nipsa/worker.py
3
100.0
h/groups/views.py
4
100.0
h/api/db.py
4
100.0
h/hashids.py
5
100.0
h/features.py
6
100.0
h/app.py
6
100.0
h/stats.py
9
100.0
h/config.py
16
100.0
h/accounts/subscribers.py
19
100.0
h/views.py
20
100.0
h/buildext.py
21
100.0
h/session.py
39
100.0
h/accounts/views.py
43
100.0
h/script.py
Jobs
ID Job ID Ran Files Coverage
1 7318.1 30 Jul 2015 11:48AM UTC 0
62.82
Travis Job 7318.1
Source Files on build 7318
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #7318
  • 8d39d1cb on github
  • Prev Build on new-group (#7236)
  • Next Build on new-group (#7320)
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