Skip to content

Commit

Permalink
Keep utcnow() in functional test case to avoid setup errors
Browse files Browse the repository at this point in the history
  • Loading branch information
slothkong committed Mar 30, 2024
1 parent d8142cd commit 205a69e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/functional/configs/test_configs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down

0 comments on commit 205a69e

Please sign in to comment.