Remove pdb

This commit is contained in:
Hubert Jankowski 2021-12-14 00:19:44 +01:00
parent a5b3079acc
commit fa0a6c2229

View File

@ -42,9 +42,7 @@ class TestValidateAPIView(views.APIView):
def post(self, request, test_id, **kwargs):
test = Test.objects.get(id=test_id)
import pdb;pdb.set_trace()
score = self.get_score(test, request.data["answers"])
import pdb;pdb.set_trace()
status = score >= test.passing_score
return Response({
"status": self.PASSED.get(status, self.UNKNOWN),