unless her blood gushes and pours into your deep actively bleeding wound(the kind you see in horror movies), you had no risk.
if somehow this is the scenario that happened, test and find out, otherwise, dont sweat it.
You had no risk. The blood on the razor (if any) would have been exposed to air. Any bodily fluid, once exposed to air is not infectious anymore. There is no need for you to worry at all.