From 0c52e427b1093b1b8054e3857be738f5f5ae9209 Mon Sep 17 00:00:00 2001 From: Bridget Hass Date: Tue, 11 Feb 2025 20:27:55 -0700 Subject: [PATCH] update provisional tests to point to 2024 provisional data --- tests/test_aop_download.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/test_aop_download.py b/tests/test_aop_download.py index 26ed117..5390a85 100644 --- a/tests/test_aop_download.py +++ b/tests/test_aop_download.py @@ -153,7 +153,7 @@ def test_all_provisional_no_data_available_message(self): This has already run through the check that any data is available (eg. there is data at that site for the year provided) """ with self.assertLogs(level='INFO') as cm: - by_file_aop(dpid="DP3.30015.001", site="SCBI", year=2023) + by_file_aop(dpid="DP3.30015.001", site="WLOU", year=2024) self.assertIn( 'INFO:root:No data files found. Available data may all be provisional. To download provisional data, use input parameter include_provisional=True.', cm.output) @@ -165,8 +165,8 @@ def test_provisional_included_and_data_available_message(self, input_mock): This has already run through the check that any data is available (eg. there is data at that site for the year provided) """ with self.assertLogs(level='INFO') as cm: - by_file_aop(dpid="DP3.30015.001", site="SCBI", - year=2023, include_provisional=True) + by_file_aop(dpid="DP3.30015.001", site="WLOU", + year=2024, include_provisional=True) self.assertIn( 'INFO:root:Provisional data are included. To exclude provisional data, use input parameter include_provisional=False.', cm.output) @@ -290,7 +290,7 @@ def test_all_provisional_no_data_available_message(self): This has already run through the check that any data is available (eg. there is data at that site for the year provided) """ with self.assertLogs(level='INFO') as cm: - by_tile_aop(dpid=self.dpid, site=self.site, year=2023, + by_tile_aop(dpid=self.dpid, site='WLOU', year=2024, easting=self.easting, northing=self.northing) self.assertIn( 'INFO:root:No data files found. Available data may all be provisional. To download provisional data, use input parameter include_provisional=True.', cm.output)