The friendly will be played on Monday, July 31 (k.o.7.30pm).
The game will see a new-look Town side under Graham Rodger and the new boss says the match, just five days before the league season kicks off, will round off pre-season nicely.
Rodger said: "It was a good test for the lads to play a team like Leeds last season and it will be no different this year. By then we should be almost there with regards fitness and preparation."