def METHOD_NAME(self):
    resp = self.kphp_server.http_post(json=[{"op": "warning", "msg": 'aaa"bbb"\nccc'}])
    self.assertEqual(resp.text, "ok")
    self.kphp_server.assert_json_log(
        expect=[{
            "version": 0, "type": 2, "env": "", "msg": "aaa\"bbb\" ccc",
            "tags": {"uncaught": False}
        }])