No, you weren't on probation for the original offense you were going to court for. It sounds like you were scheduled to be sentenced the day before you were tested. Assuming you weren't already on probation for a different offense, the court had yet to sentence you and as such your drug use would not be considered a violation of your probation.

