diff --git a/nowcasting_dataset/manager.py b/nowcasting_dataset/manager.py index b13dc32f..00e704b6 100644 --- a/nowcasting_dataset/manager.py +++ b/nowcasting_dataset/manager.py @@ -85,7 +85,6 @@ def configure_loggers( log_filename = self.config.output_data.filepath / f"{data_source_name}.log" nd_utils.configure_logger( log_level=log_level, - # TODO: Fix bug #467: satellite.log file is not being appended to. logger_name=f"nowcasting_dataset.data_sources.{data_source_name}", handlers=[logging.FileHandler(log_filename, mode="a")], ) diff --git a/tests/data_sources/gsp/test_gsp_pvlive.py b/tests/data_sources/gsp/test_gsp_pvlive.py index 7a5b847c..c4799843 100644 --- a/tests/data_sources/gsp/test_gsp_pvlive.py +++ b/tests/data_sources/gsp/test_gsp_pvlive.py @@ -2,7 +2,6 @@ from datetime import datetime import pandas as pd -import pytest import pytz from nowcasting_dataset.data_sources.gsp.pvlive import ( @@ -11,7 +10,6 @@ ) -@pytest.mark.skip("Skip due to PVlive server issues: #395") def test_load_gsp_raw_data_from_pvlive_one_gsp_one_day(): """ Test that one gsp system data can be loaded, just for one day @@ -28,7 +26,6 @@ def test_load_gsp_raw_data_from_pvlive_one_gsp_one_day(): assert "generation_mw" in gsp_pv_df.columns -@pytest.mark.skip("Skip due to PVlive server issues: #395") def test_load_gsp_raw_data_from_pvlive_one_gsp_one_day_not_normalised(): """ Test that one gsp system data can be loaded, just for one day, and is normalized correctly @@ -49,7 +46,6 @@ def test_load_gsp_raw_data_from_pvlive_one_gsp_one_day_not_normalised(): assert gsp_pv_df["generation_mw"].max() <= 1 -@pytest.mark.skip("Skip due to PVlive server issues: #395") def test_load_gsp_raw_data_from_pvlive_one_gsp(): """ Test that one gsp system data can be loaded @@ -67,7 +63,6 @@ def test_load_gsp_raw_data_from_pvlive_one_gsp(): assert "generation_mw" in gsp_pv_df.columns -@pytest.mark.skip("Skip due to PVlive server issues: #395") def test_load_gsp_raw_data_from_pvlive_many_gsp(): """ Test that one gsp system data can be loaded @@ -84,7 +79,6 @@ def test_load_gsp_raw_data_from_pvlive_many_gsp(): assert "generation_mw" in gsp_pv_df.columns -@pytest.mark.skip("Skip due to PVlive server issues: #395") def test_get_installed_capacity(): """ Test thhat we can get installed capacity @@ -95,4 +89,3 @@ def test_get_installed_capacity(): assert len(installed_capacity) == 3 assert "installedcapacity_mwp" == installed_capacity.name assert installed_capacity.iloc[0] == 342.02623 - assert installed_capacity.iloc[2] == 308.00432