The Cobblers were one of the unseeded teams in the Southern Area of the draw and have landed a game against a Wolves side newly-promoted into the Championship.
Last season Aidy Boothroyd's side were beaten 2-1 at home by MK Dons at the same stage of the competition, Roy O'Donovan's goal proving to be a consolation effort.