404 tests and test that everything requires authentication

This commit is contained in:
2020-02-07 21:36:08 +00:00
parent 762af5a1eb
commit 3e16075b34
3 changed files with 45 additions and 18 deletions

View File

@@ -212,8 +212,6 @@ class SupplierSearch(SupplierList):
for supplier in context["object_list"]:
result.append({"id": supplier.pk, "name": supplier.name})
import pdb
pdb.set_trace()
return JsonResponse(result, safe=False)