polands defeat was the inevitable outcome of the warsaw governments illusions about the actions its allies would take , as well as of its over-estimation of the polish armys ability to offer lengthy resistance .