1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-04-28 03:10:45 +00:00

fix unit test

This commit is contained in:
AlexCXC 2021-04-30 14:43:29 +08:00
parent 949a522795
commit 9c05362b2d

View File

@ -52,7 +52,6 @@ def check_folder_permission_by_repo_api(request, repo_id, path):
class ViaRepoDirView(APIView):
authentication_classes = (RepoAPITokenAuthentication, SessionAuthentication)
permission_classes = (IsAuthenticated,)
throttle_classes = (UserRateThrottle,)
def get_dir_info(self, repo_id, dir_path):
@ -342,7 +341,6 @@ class ViaRepoDirView(APIView):
class ViaRepoUploadLinkView(APIView):
authentication_classes = (RepoAPITokenAuthentication, SessionAuthentication)
permission_classes = (IsAuthenticated,)
throttle_classes = (UserRateThrottle,)
def get(self, request, format=None):
@ -396,7 +394,6 @@ class ViaRepoUploadLinkView(APIView):
class ViaRepoDownloadLinkView(APIView):
authentication_classes = (RepoAPITokenAuthentication, SessionAuthentication)
permission_classes = (IsAuthenticated,)
throttle_classes = (UserRateThrottle,)
def get(self, request):
@ -422,7 +419,6 @@ class ViaRepoDownloadLinkView(APIView):
class RepoInfoView(APIView):
authentication_classes = (RepoAPITokenAuthentication, SessionAuthentication)
permission_classes = (IsAuthenticated,)
throttle_classes = (UserRateThrottle,)
def get(self, request):