Skip to content

Commit f92cb64

Browse files
committed
mock_show returned to unit tests
mock_show returned to unit/test_solidmotor.py
1 parent 32f7711 commit f92cb64

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tests/unit/test_solidmotor.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,13 @@
2020

2121

2222
@patch("matplotlib.pyplot.show")
23-
def test_motor(cesaroni_m1670): # pylint: disable=unused-argument
23+
def test_motor(mock_show, cesaroni_m1670): # pylint: disable=unused-argument
2424
"""Tests the SolidMotor.all_info() method.
2525
2626
Parameters
2727
----------
28+
mock_show : mock
29+
Mock of the matplotlib.pyplot.show function.
2830
cesaroni_m1670 : rocketpy.SolidMotor
2931
The SolidMotor object to be used in the tests.
3032
"""

0 commit comments

Comments
 (0)