1515)
1616
1717
18- @pytest .fixture (name = "dataframes " , scope = "function" )
18+ @pytest .fixture (name = "stats_dataframes " , scope = "function" )
1919def fixture_dataframes ():
2020 """
2121 Create stats dataframes and reference tolerances.
@@ -89,8 +89,8 @@ def _check(df1, df2, tol_large, tol_small, file_type):
8989 )
9090
9191
92- def test_check ( dataframes ):
93- df1 , df2 , tol_large , tol_small = dataframes
92+ def test_check_stats ( stats_dataframes ):
93+ df1 , df2 , tol_large , tol_small = stats_dataframes
9494 _check (df1 , df2 , tol_large , tol_small , file_type = "stats" )
9595
9696
@@ -109,7 +109,7 @@ def test_check_fof(fof_datasets):
109109 )
110110
111111
112- def test_check_one_zero (dataframes ):
112+ def test_check_one_zero_stats (dataframes ):
113113 """
114114 Test that a null value in ds1 causes failure,
115115 and that a variation within tolerance is accepted.
@@ -122,7 +122,7 @@ def test_check_one_zero(dataframes):
122122 diff_df = diff_df .groupby (["variable" ]).max ()
123123 out , err , _ = check_variable (diff_df , tol_large )
124124
125- assert not out , f"Check con 0-value reference ha validato erroneamente :\n { err } "
125+ assert not out , f"Check with 0-value reference validated incorrectly :\n { err } "
126126
127127 df2 = df2 .copy ()
128128 df2 .loc [("NetCDF:*atm_3d*.nc" , "var_1" , 2 ), (0 , "max" )] = CHECK_THRESHOLD / 2
@@ -149,7 +149,7 @@ def test_check_one_zero_fof(fof_datasets):
149149
150150 out , err , _ = check_variable (diff_df , tol_large )
151151
152- assert not out , f"Check con 0-value reference ha validato erroneamente :\n { err } "
152+ assert not out , f"Check with 0-value reference validated incorrectly :\n { err } "
153153
154154 _ , _ , ds_veri2_copy = split_feedback_dataset (ds2_copy )
155155 ds_veri2_copy = ds_veri2_copy .copy (deep = True )
@@ -163,7 +163,7 @@ def test_check_one_zero_fof(fof_datasets):
163163 )
164164
165165
166- def test_check_smalls (dataframes ):
166+ def test_check_smalls_stats (dataframes ):
167167 """
168168 Both values are close to 0 and should be accepted even though
169169 their relative difference is large.
0 commit comments