(self, request)
return b''
Mock SendGrid api responds with a 200.
Mock SendGrid api responds with a 200.
Mock SendGrid api responds with a 200 .
def send_grid_api(self, request):
        """
        Mock SendGrid api responds with a 200.
        """
        request.setResponseCode(200)
        return b''
def send_grid_api ( self , request ) : request . setResponseCode ( 200 ) return b''