Gary Johnson will have been pleased with the response of his side, who recovered from their disappointing midweek reverse at Cambridge United to overcome the League One newboys.
Ben Tozer and Nick McKoy scored the goals at Sixfields in a 2-1 win which will hopefully put the Cobblers in good heart for the League Two opener against Accrington on Saturday.