Switch to side-by-side view
--- a/Allura/allura/tests/functional/test_root.py +++ b/Allura/allura/tests/functional/test_root.py @@ -97,3 +97,7 @@ r = self.app.get('/nf/redirect/?path=%s' % quote('http://google.com')) assert r.status_int == 302 assert r.location == 'http://google.com' + + def test_slash_redirect(self): + r = self.app.get('/p',status=301) + r = self.app.get('/p/',status=200)