test_case.py 289 B

123456789101112
  1. from rest_framework.views import APIView
  2. from django.http import HttpResponse
  3. class Test_case(APIView):
  4. # 登录权限验证
  5. authentication_classes = []
  6. # delete task
  7. @staticmethod
  8. def get(request, *args, **kwargs):
  9. return HttpResponse("导出测试用例")