Skip to content

fix(python): replace deprecated datetime.utcnow and add auth unit tests#98

Merged
mHjertaker merged 2 commits intomainfrom
test/python-auth-unit-tests
Apr 14, 2026
Merged

fix(python): replace deprecated datetime.utcnow and add auth unit tests#98
mHjertaker merged 2 commits intomainfrom
test/python-auth-unit-tests

Conversation

@mHjertaker
Copy link
Copy Markdown
Contributor

Replace datetime.utcnow() with timezone-aware datetime.now(UTC) to fix
DeprecationWarning scheduled for removal in a future Python version.

Add unit tests for AuthService covering token caching, expiration
refresh, and region fallback. Add unit test step to CI workflow.

  Replace datetime.utcnow() with timezone-aware datetime.now(UTC) to fix
  DeprecationWarning scheduled for removal in a future Python version.

  Add unit tests for AuthService covering token caching, expiration
  refresh, and region fallback. Add unit test step to CI workflow.
@mHjertaker mHjertaker requested a review from a team as a code owner April 14, 2026 10:34
@mHjertaker mHjertaker merged commit 3be2025 into main Apr 14, 2026
2 checks passed
@mHjertaker mHjertaker deleted the test/python-auth-unit-tests branch April 14, 2026 11:03
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.

2 participants