Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The test fails when running test_properties.py #108

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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