Change non logged in 403s to 401s.

This commit is contained in:
jakedt 2014-03-19 13:57:36 -04:00
parent 7bd4b9a71c
commit 6fc369bed2
5 changed files with 163 additions and 158 deletions

View file

@ -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)