I\'m using the tenacity decorator to retry a test when it fails and after the test has failed the program has to perform a cleaning phase so I used the tenacity retry decora