def METHOD_NAME():
    s = ai2thor.wsgi_server.WsgiServer(host="127.0.0.1")
    s.send(dict(action="RotateRight"))
    s.client_token = "123456"
    c = s.app.test_client()
    res = c.post(
        "/train",
        buffered=True,
        content_type="multipart/form-data; boundary=OVCo05I3SVXLPeTvCgJjHl1EOleL4u9TDx5raRVt",
        input_stream=BytesIO(generate_form(metadata_simple, s.sequence_id + 1)),
    )
    assert res.status_code == 403