@@ -28,9 +28,7 @@ def test_set_elevation_open_elevation(
2828
2929
3030@patch ("matplotlib.pyplot.show" )
31- def test_era5_atmosphere (
32- mock_show , example_spaceport_env
33- ): # pylint: disable=unused-argument
31+ def test_era5_atmosphere (mock_show , example_spaceport_env ): # pylint: disable=unused-argument
3432 """Tests the Reanalysis model with the ERA5 file. It uses an example file
3533 available in the data/weather folder of the RocketPy repository.
3634
@@ -51,9 +49,7 @@ def test_era5_atmosphere(
5149
5250
5351@patch ("matplotlib.pyplot.show" )
54- def test_custom_atmosphere (
55- mock_show , example_plain_env
56- ): # pylint: disable=unused-argument
52+ def test_custom_atmosphere (mock_show , example_plain_env ): # pylint: disable=unused-argument
5753 """Tests the custom atmosphere model in the environment object.
5854
5955 Parameters
@@ -78,9 +74,7 @@ def test_custom_atmosphere(
7874
7975
8076@patch ("matplotlib.pyplot.show" )
81- def test_standard_atmosphere (
82- mock_show , example_plain_env
83- ): # pylint: disable=unused-argument
77+ def test_standard_atmosphere (mock_show , example_plain_env ): # pylint: disable=unused-argument
8478 """Tests the standard atmosphere model in the environment object.
8579
8680 Parameters
@@ -132,9 +126,7 @@ def test_windy_atmosphere(example_euroc_env, model_name):
132126
133127@pytest .mark .slow
134128@patch ("matplotlib.pyplot.show" )
135- def test_gfs_atmosphere (
136- mock_show , example_spaceport_env
137- ): # pylint: disable=unused-argument
129+ def test_gfs_atmosphere (mock_show , example_spaceport_env ): # pylint: disable=unused-argument
138130 """Tests the Forecast model with the GFS file. It does not test the values,
139131 instead the test checks if the method runs without errors.
140132
@@ -151,9 +143,7 @@ def test_gfs_atmosphere(
151143
152144@pytest .mark .slow
153145@patch ("matplotlib.pyplot.show" )
154- def test_nam_atmosphere (
155- mock_show , example_spaceport_env
156- ): # pylint: disable=unused-argument
146+ def test_nam_atmosphere (mock_show , example_spaceport_env ): # pylint: disable=unused-argument
157147 """Tests the Forecast model with the NAM file.
158148
159149 Parameters
@@ -169,9 +159,7 @@ def test_nam_atmosphere(
169159
170160@pytest .mark .slow
171161@patch ("matplotlib.pyplot.show" )
172- def test_rap_atmosphere (
173- mock_show , example_spaceport_env
174- ): # pylint: disable=unused-argument
162+ def test_rap_atmosphere (mock_show , example_spaceport_env ): # pylint: disable=unused-argument
175163 today = date .today ()
176164 now = datetime .now (timezone .utc )
177165 example_spaceport_env .set_date ((today .year , today .month , today .day , now .hour ))
@@ -181,9 +169,7 @@ def test_rap_atmosphere(
181169
182170@pytest .mark .slow
183171@patch ("matplotlib.pyplot.show" )
184- def test_gefs_atmosphere (
185- mock_show , example_spaceport_env
186- ): # pylint: disable=unused-argument
172+ def test_gefs_atmosphere (mock_show , example_spaceport_env ): # pylint: disable=unused-argument
187173 """Tests the Ensemble model with the GEFS file.
188174
189175 Parameters
@@ -199,9 +185,7 @@ def test_gefs_atmosphere(
199185
200186@pytest .mark .slow
201187@patch ("matplotlib.pyplot.show" )
202- def test_wyoming_sounding_atmosphere (
203- mock_show , example_plain_env
204- ): # pylint: disable=unused-argument
188+ def test_wyoming_sounding_atmosphere (mock_show , example_plain_env ): # pylint: disable=unused-argument
205189 """Asserts whether the Wyoming sounding model in the environment
206190 object behaves as expected with respect to some attributes such
207191 as pressure, barometric_height, wind_velocity and temperature.
@@ -236,9 +220,7 @@ def test_wyoming_sounding_atmosphere(
236220
237221@pytest .mark .slow
238222@patch ("matplotlib.pyplot.show" )
239- def test_hiresw_ensemble_atmosphere (
240- mock_show , example_spaceport_env
241- ): # pylint: disable=unused-argument
223+ def test_hiresw_ensemble_atmosphere (mock_show , example_spaceport_env ): # pylint: disable=unused-argument
242224 """Tests the Forecast model with the HIRESW file.
243225
244226 Parameters
@@ -264,9 +246,7 @@ def test_hiresw_ensemble_atmosphere(
264246
265247@pytest .mark .skip (reason = "CMC model is currently not working" )
266248@patch ("matplotlib.pyplot.show" )
267- def test_cmc_atmosphere (
268- mock_show , example_spaceport_env
269- ): # pylint: disable=unused-argument
249+ def test_cmc_atmosphere (mock_show , example_spaceport_env ): # pylint: disable=unused-argument
270250 """Tests the Ensemble model with the CMC file.
271251
272252 Parameters
0 commit comments