I am wondering if there is a way to test the retry logic provided by tenacity; e.g. I'd like to test a decorated method is successful only on a retry (or a given number of retries). In other words, is there a pattern for mocking failures for tenacity?
Aucun commentaire:
Enregistrer un commentaire