diff --git a/tests/test_Ascii2NetcdfTimeseries.py b/tests/test_Ascii2NetcdfTimeseries.py index 6c76a12..870743b 100644 --- a/tests/test_Ascii2NetcdfTimeseries.py +++ b/tests/test_Ascii2NetcdfTimeseries.py @@ -34,12 +34,17 @@ def test_2read(self): def test_3read(self): with pyaro.open_timeseries( - self.engine, EBAS_URL, resolution="daily", filters={'stations': {'include': ['NO0002']},} # Birkenes2 - # time-bounds bug in pyaro 0.0.6 - #'time_bounds': {'start_include': [('2021-01-01 00:00:00', '2021-12-31 23:59:59')]}} + self.engine, + EBAS_URL, + resolution="daily", + filters={ + "stations": {"include": ["NO0002"]}, + }, # Birkenes2 ) as ts: data = ts.data("sulphur_dioxide_in_air") self.assertIn("NO0002", data.stations) self.assertGreater(len(data), 360) self.assertEqual(data.units, "ug") - self.assertEqual(len(data.values[data.values > 4]), 1) # one day (21.05. with extreme SO2) + self.assertEqual( + len(data.values[data.values > 4]), 1 + ) # one day (21.05. with extreme SO2)