It depends really on how quickly you learn, you could study and pass for the theory test in a month. For the practical test, it would depend on how many lessons you take before you're confident enough to take your test, this could vary widely between 15 - 40 lessons or more.