From 12aef2ddad93b27c4a974c9bc6e9078aebc7741c Mon Sep 17 00:00:00 2001 From: Daniel Adriaansen Date: Thu, 11 Apr 2024 20:29:39 +0000 Subject: [PATCH] Renames testing file for land_surface diagnostics to support additional land_surface diagnostics in the future. --- .github/workflows/unit_tests.yml | 4 ++-- test/{test_calc_tci.py => test_diagnostics_land_surface.py} | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename test/{test_calc_tci.py => test_diagnostics_land_surface.py} (95%) diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index cdb50b07..badd75c6 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -66,8 +66,8 @@ jobs: pytest test_future_warnings.py pytest test_sl1l2.py pytest test_reformatted_for_agg.py - pytest test_calc_tci.py - coverage run -m pytest test_agg_eclv.py test_agg_stats_and_boot.py test_agg_stats_with_groups.py test_calc_difficulty_index.py test_convert_lon_indices.py test_event_equalize.py test_event_equalize_against_values.py test_lon_360_to_180.py test_statistics.py test_tost_paired.py test_utils.py test_future_warnings.py test_reformatted_for_agg.py + pytest test_diagnostics_land_surface.py + coverage run -m pytest test_agg_eclv.py test_agg_stats_and_boot.py test_agg_stats_with_groups.py test_calc_difficulty_index.py test_convert_lon_indices.py test_event_equalize.py test_event_equalize_against_values.py test_lon_360_to_180.py test_statistics.py test_tost_paired.py test_utils.py test_future_warnings.py test_reformatted_for_agg.py test_diagnostics_land_surface.py coverage html - name: Archive code coverage results diff --git a/test/test_calc_tci.py b/test/test_diagnostics_land_surface.py similarity index 95% rename from test/test_calc_tci.py rename to test/test_diagnostics_land_surface.py index 899e40a8..ebffb194 100644 --- a/test/test_calc_tci.py +++ b/test/test_diagnostics_land_surface.py @@ -1,4 +1,4 @@ -"""Tests the calc_tci() function in diagnostics/land_surface.py""" +"""Tests the functions in diagnostics/land_surface.py""" from metcalcpy.diagnostics.land_surface import calc_tci from xarray.testing import assert_equal