TÜV new at your own request, then accept any amount of repair costs?

Hello If I allow a dealer or seller to make a new TÜV request (because only 2 months are valid for example) and he says the vehicle can become more expensive in case of repairs that the TÜV then demands (which would not be unusual), then I am obliged to buy the vehicle at a far higher price if the repairs require it? The TÜV fee itself “up top is clear. But must I go into something legally binding before this TÜV (and possibly repairs) n (e.g. maybe kind of “pre-contract”)? If you think bad, then the seller could “repair” after that and then “break up”. VG Sorry, if wrong section here, found nothing more appropriate.