uti or kidney infection ?

would a uti test where you pee in the cup show if i have a kidney infection also ?