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

fix test case

This commit is contained in:
王健辉
2019-05-24 13:52:33 +08:00
parent a6896917e8
commit 9c3c94993b
3 changed files with 5 additions and 5 deletions

View File

@@ -116,7 +116,7 @@ class RepoViewTest(BaseTestCase):
def test_delete_with_read_only_status(self):
self.login_as(self.user)
seafile_api.set_repo_status(self.repo.id, int(1))
seafile_api.set_repo_status(self.repo.id, 1)
resp = self.client.delete(self.url)
self.assertEqual(403, resp.status_code)