def METHOD_NAME(api_client, uploaded_file_ids, draft):
    attachment_id = uploaded_file_ids.pop()
    draft["file_ids"] = [attachment_id]
    r = api_client.post_data("/drafts", draft)
    assert r.status_code == 200
    draft_resp = json.loads(r.data)
    assert attachment_id in [x["id"] for x in draft_resp["files"]]