I see you used nose's attr plugin down below for something else. Why not use it for this as well?