I have 2 class like below I don't have url path for class A what is the best method to test process_get? I tried mocking a http request with request in rest_framework.request but they don't let me set query_params witch i need to set
class A(APIView):
def process_get(self, request, form):
pass
class B(A):
def get(self,request)
pass
Aucun commentaire:
Enregistrer un commentaire