Skip to content

Commit

Permalink
MNT: Remove unnecessary matplotlib mock show
Browse files Browse the repository at this point in the history
  • Loading branch information
giovaniceotto authored Nov 21, 2023
1 parent b16ac87 commit f398875
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/test_rocket.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,15 @@ def test_aero_surfaces_infos(
assert calisto_trapezoidal_fins.draw() == None


@patch("matplotlib.pyplot.show")
def test_coordinate_system_orientation(
mock_show, calisto_nose_cone, cesaroni_m1670, calisto_trapezoidal_fins
calisto_nose_cone, cesaroni_m1670, calisto_trapezoidal_fins
):
"""Test if the coordinate system orientation is working properly. This test
basically checks if the static margin is the same for the same rocket with
different coordinate system orientation.
Parameters
----------
mock_show : mock
Mock of matplotlib.pyplot.show
calisto_nose_cone : rocketpy.NoseCone
Nose cone of the rocket
cesaroni_m1670 : rocketpy.SolidMotor
Expand Down

0 comments on commit f398875

Please sign in to comment.