Change non logged in 403s to 401s.
This commit is contained in:
parent
7bd4b9a71c
commit
6fc369bed2
5 changed files with 163 additions and 158 deletions
|
@ -828,7 +828,7 @@ class TestGetRepository(ApiTestCase):
|
|||
def test_getrepo_org_asnonmember(self):
|
||||
self.getResponse(Repository,
|
||||
params=dict(repository=ORGANIZATION + '/' + ORG_REPO),
|
||||
expected_code=403)
|
||||
expected_code=401)
|
||||
|
||||
def test_getrepo_org_asreader(self):
|
||||
self.login(READ_ACCESS_USER)
|
||||
|
|
Reference in a new issue