Fix broken test after the recent 404 change
This commit is contained in:
parent
e1771abe58
commit
fac9d9fc5d
1 changed files with 1 additions and 1 deletions
|
@ -200,7 +200,7 @@ class WebEndpointTestCase(EndpointTestCase):
|
|||
def test_redirect_to_repository(self):
|
||||
self.getResponse('web.redirect_to_repository', repository='foo/bar', expected_code=404)
|
||||
self.getResponse('web.redirect_to_repository', repository='public/publicrepo', expected_code=302)
|
||||
self.getResponse('web.redirect_to_repository', repository='devtable/simple', expected_code=404)
|
||||
self.getResponse('web.redirect_to_repository', repository='devtable/simple', expected_code=403)
|
||||
|
||||
self.login('devtable', 'password')
|
||||
self.getResponse('web.redirect_to_repository', repository='devtable/simple', expected_code=302)
|
||||
|
|
Reference in a new issue