Skip to content

Conversation

@chimucong
Copy link

The test fails when running test_properties.py.

WX20240726-110704

The 'Date Property' from the document has timezone information while the datetime object created in the test file does not, which makes the assertion fail.
image
image

Besides when adding datetime property, the timezone information is added as well.
image

@chimucong chimucong changed the title tests/test_properties.py: add tzinfo when creating the datetime object The test fails when running test_properties.py Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant