Remove pdb
This commit is contained in:
parent
a5b3079acc
commit
fa0a6c2229
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user