def METHOD_NAME(self, *args, **kwargs):
    self.parent.writecount += 1
    try:
        for line in self.request.body.decode().split("\n"):
            print(line)
            assert influxlineprotocol.match(line)
            self.parent.lines.append(line)
    except Exception as e:
        # carry over  failures
        self.parent.failure = e