From 52df247d1719440983bcd89f12d6dd15ec4a6e01 Mon Sep 17 00:00:00 2001 From: Filipe Fernandes Date: Thu, 14 Mar 2024 15:30:26 -0300 Subject: [PATCH] input data must be the tz as test data --- tests/test_config.py | 12 ++++++------ tests/test_streams.py | 32 ++++++++++++++++---------------- 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/tests/test_config.py b/tests/test_config.py index c32c37d9..a98b35fa 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -112,8 +112,8 @@ def setUp(self): config_str = """ region: something window: - starting: 2020-01-01T00:00:00Z - ending: 2020-04-01T00:00:00Z + starting: 2020-01-01T00:00:00 + ending: 2020-04-01T00:00:00 streams: variable1: qartod: @@ -171,8 +171,8 @@ def setUp(self): type: Point coordinates: [-72, 34] window: - starting: 2020-01-01T00:00:00Z - ending: 2020-04-01T00:00:00Z + starting: 2020-01-01T00:00:00 + ending: 2020-04-01T00:00:00 streams: variable1: qartod: @@ -188,8 +188,8 @@ def setUp(self): type: Point coordinates: [-80,40] window: - starting: 2020-01-01T00:00:00Z - ending: 2020-04-01T00:00:00Z + starting: 2020-01-01T00:00:00 + ending: 2020-04-01T00:00:00 streams: variable1: qartod: diff --git a/tests/test_streams.py b/tests/test_streams.py index 16097991..caa26c16 100644 --- a/tests/test_streams.py +++ b/tests/test_streams.py @@ -28,8 +28,8 @@ def setUp(self): config = """ region: something window: - starting: 2020-01-01T00:00:00Z - ending: 2020-04-01T00:00:00Z + starting: 2020-01-01T00:00:00 + ending: 2020-04-01T00:00:00 streams: variable1: qartod: @@ -146,8 +146,8 @@ def setUp(self): config = """ region: something window: - starting: 2020-01-01T00:00:00Z - ending: 2020-04-01T00:00:00Z + starting: 2020-01-01T00:00:00 + ending: 2020-04-01T00:00:00 streams: variable1: qartod: @@ -206,8 +206,8 @@ def setUp(self): config = """ region: something window: - starting: 2020-01-01T00:00:00Z - ending: 2020-04-01T00:00:00Z + starting: 2020-01-01T00:00:00 + ending: 2020-04-01T00:00:00 streams: variable1: qartod: @@ -271,8 +271,8 @@ def setUp(self): config = """ region: something window: - starting: 2020-01-01T00:00:00Z - ending: 2020-04-01T00:00:00Z + starting: 2020-01-01T00:00:00 + ending: 2020-04-01T00:00:00 streams: variable1: qartod: @@ -336,8 +336,8 @@ def setUp(self): contexts: - region: something window: - starting: 2020-01-01T00:00:00Z - ending: 2020-02-01T00:00:00Z + starting: 2020-01-01T00:00:00 + ending: 2020-02-01T00:00:00 streams: variable1: qartod: @@ -351,8 +351,8 @@ def setUp(self): fail_span: [22, 25] - region: something else window: - starting: 2020-02-01T00:00:00Z - ending: 2020-03-01T00:00:00Z + starting: 2020-02-01T00:00:00 + ending: 2020-03-01T00:00:00 streams: variable1: qartod: @@ -423,8 +423,8 @@ def setUp(self): contexts: - region: something window: - starting: 2020-01-01T00:00:00Z - ending: 2020-02-01T00:00:00Z + starting: 2020-01-01T00:00:00 + ending: 2020-02-01T00:00:00 streams: variable1: qartod: @@ -438,8 +438,8 @@ def setUp(self): fail_span: [22, 25] - region: something else window: - starting: 2020-02-01T00:00:00Z - ending: 2020-03-01T00:00:00Z + starting: 2020-02-01T00:00:00 + ending: 2020-03-01T00:00:00 streams: variable1: qartod: