Cobblers boss Justin Edinburgh was more than happy to see his side win ugly after their scrappy 2-1 victory over Port Vale at Sixfields on Tuesday night.
In a game short on quality and entertainment, Northampton struggled to find any kind of fluency throughout but came away with the spoils courtesy of two unconventional goals.
Both came in the second-half when Aaron Phillips' over-hit cross sailed beyond Leo Fasan and into the net before Matty Taylor's fiercely-struck 30-yard effort two minutes from time again left Fasan fooled.
It was far from a vintage performance but the fact they were able to battle to victory was of great satisfaction for Edinburgh.
"It's a huge three points," he said. "Credit to the players because I think it was a real test of mentality tonight.
"We started the game really well and I thought we controlled it without creating many chances or being clinical enough in the final third with delivery into the box or that right decision of pass.
"Port Vale came back into it but the pleasing for me is that we've not been at our best and we've secured three points and also won at home."
It's at Sixfields where the Cobblers have turned their fortunes around most, with Edinburgh overseeing five wins in six home games since taking the reins in January.
He added: "Everyone's stuck together. There hadn't been a win here since before October before I arrived and to turn that around is not easy.
"The players have really changed their mentality. Six or seven weeks ago we might have lost that game but I think we've learnt.
"Only two weeks ago we got beat here by Oldham in a game that I still believe we shouldn't have lost but it's now very difficult for teams to come here and people know we have the belief and we'll go right to the end.
"The credit for that goes to the players because they truly have a belief and the fitness is improving all of the time and I think it was a pleasing three points.
"You don't always get what you deserve in football but you have to keep going until the end and have that belief."
The win sees the Cobblers stretch their advantage over the Sky Bet League One bottom four to 11 points, although Vale, who are currently 21st, have three games in hand.