Skip to content

Commit

Permalink
Correct test class naming.
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinevans committed Oct 21, 2021
1 parent 8fcb05f commit 0a81cc2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions improver_tests/calibration/test_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ def _chunker(seq, size):
return (seq[pos : pos + size] for pos in range(0, len(seq), size))


class Test_shared_dataframes(ImproverTest):
class SetupSharedDataFrames(ImproverTest):

"""A shared dataframe creation class."""

Expand Down Expand Up @@ -574,7 +574,7 @@ def setUp(self):
)


class Test_constructed_forecast_cubes(Test_shared_dataframes):
class SetupConstructedForecastCubes(SetupSharedDataFrames):

"""A constructed forecast cube class."""

Expand Down Expand Up @@ -645,7 +645,7 @@ def setUp(self):
self.expected_instantaneous_forecast.coord(coord).bounds = None


class Test_constructed_truth_cubes(Test_shared_dataframes):
class SetupConstructedTruthCubes(SetupSharedDataFrames):

"""A constructed truth cube class."""

Expand Down Expand Up @@ -684,7 +684,7 @@ def setUp(self):
self.expected_instantaneous_truth.coord("time").bounds = None


class Test_forecast_dataframe_to_cube(Test_constructed_forecast_cubes):
class Test_forecast_dataframe_to_cube(SetupConstructedForecastCubes):

"""Test the forecast_dataframe_to_cube function."""

Expand Down Expand Up @@ -735,7 +735,7 @@ def test_nonunique_values_in_column(self):
forecast_dataframe_to_cube(df, self.date_range, self.forecast_period)


class Test_truth_dataframe_to_cube(Test_constructed_truth_cubes):
class Test_truth_dataframe_to_cube(SetupConstructedTruthCubes):

"""Test the truth_dataframe_to_cube function."""

Expand Down Expand Up @@ -782,7 +782,7 @@ def test_nonunique_values_in_column(self):


class Test_forecast_and_truth_dataframes_to_cubes(
Test_constructed_forecast_cubes, Test_constructed_truth_cubes
SetupConstructedForecastCubes, SetupConstructedTruthCubes
):

"""Test the forecast_and_truth_dataframes_to_cubes function."""
Expand Down

0 comments on commit 0a81cc2

Please sign in to comment.