def METHOD_NAME(self):
    def get_response(request):
        ware.process_view(request, view, ARGS, KWARGS)
        return Config(status_code=200)
    view = make_view()
    settings = Settings(AUDIT_ALL_VIEWS=True)
    with configured_middleware(settings, get_response) as ware:
        ware(self.request)
    audit_doc = self.request.audit_doc
    self.assertEqual(audit_doc.save_count, 1)