RocketPy-Team / RocketPy

Next generation High-Power Rocketry 6-DOF Trajectory Simulation
https://docs.rocketpy.org/
MIT License
570 stars 137 forks source link

ENH: Exponential backoff decorator (fix #449) #588

Closed Gui-FernandesBR closed 2 months ago

Gui-FernandesBR commented 2 months ago

Pull request type

Checklist

Current behavior

It is annoying that several tests fail due to bad approach of fetching external APIs data.

New behavior

Fixed the issue #449 . Code is running ok, I also testes slow tests.

Breaking change

Additional information

I was really tired of seeing the Wyoming atmosphere model failing in our tests.

codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 39.36170% with 57 lines in your changes are missing coverage. Please review.

Project coverage is 72.93%. Comparing base (6b26f61) to head (b899064). Report is 1 commits behind head on develop.

Files Patch % Lines
rocketpy/environment/environment.py 27.27% 56 Missing :warning:
rocketpy/tools.py 94.11% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #588 +/- ## =========================================== + Coverage 72.88% 72.93% +0.05% =========================================== Files 59 59 Lines 9591 9628 +37 =========================================== + Hits 6990 7022 +32 - Misses 2601 2606 +5 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.