Do a continuity test on the flex first. If ok then check the motor.
I recently changed a motor on a DC19 where the brushes were obviously severely burnt. However it still didn't run with a new motor fitted until I changed the fuse as well-so it can happen.