Skip to content

Add integration test cases #2

Description

@iplitharas

There was a bug with MongoDB where we were losing the tz from expiration_date after the load from DB.
As a result, we weren't able to compare the current date.

Error message
"detail": "can't compare offset-naive and offset-aware datetimes" the datetime.now(tz=utc) + timedelta(minutes=value) loose the tz ?

This got fixed, but we have to right more test cases

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions