From 205a69ea1f7ac07bfa6b22ec71ffd1925cdd4804 Mon Sep 17 00:00:00 2001 From: slothkong Date: Sat, 30 Mar 2024 19:56:29 +0100 Subject: [PATCH] Keep utcnow() in functional test case to avoid setup errors --- tests/functional/configs/test_configs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/functional/configs/test_configs.py b/tests/functional/configs/test_configs.py index da613dc257c..7ac6259ac13 100644 --- a/tests/functional/configs/test_configs.py +++ b/tests/functional/configs/test_configs.py @@ -51,7 +51,7 @@ class TestTargetConfigs(BaseConfigProject): @pytest.fixture(scope="class") def project_config_update(self): return { - "target-path": "target_{{ modules.datetime.datetime.now(timezone.utc).replace(tzinfo=None).strftime('%Y%m%dT%H%M%S') }}", + "target-path": "target_{{ modules.datetime.datetime.utcnow().strftime('%Y%m%dT%H%M%S') }}", "seeds": { "quote_columns": False, },