1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-04 00:20:07 +00:00

Update function name and error msg

This commit is contained in:
zhengxie
2016-01-26 10:38:19 +08:00
parent a8bf96d2e2
commit df1e082e8c
4 changed files with 10 additions and 10 deletions

View File

@@ -67,4 +67,4 @@ class RepoPublicTest(BaseTestCase):
resp = self.client.post(self.user_repo_url)
self.assertEqual(403, resp.status_code)
json_resp = json.loads(resp.content)
assert json_resp['error_msg'] == 'Failed to share library to public: permission denied.'
assert json_resp['error_msg'] == 'Permission denied.'